> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mobula.io/llms.txt
> Use this file to discover all available pages before exploring further.

# OnTokenEventsCreatedInput

> Input for the onTokenEventsCreated subscription.

### TypeScript shape

```ts theme={null}
interface OnTokenEventsCreatedInput {
  tokenAddress?: string | null;
  networkId: number;
}
```

<ResponseField name="tokenAddress" type="String" required>
  Token contract address. Required at runtime — omitting it returns `BAD_USER_INPUT`. The subscription matches against both `token0` and `token1` of every pool — events fire whether the token is on either side of the pair.
</ResponseField>

<ResponseField name="networkId" type="Int!" required>
  Network ID the token is deployed on (e.g. `1` for Ethereum, `1399811149` for Solana).
</ResponseField>

<Note>
  `commitmentLevel` is a **separate top-level argument** of the `onTokenEventsCreated` subscription — it is not a field of this input object. See [onTokenEventsCreated](/api-reference/graphql/subscriptions/onTokenEventsCreated).
</Note>
