> ## 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.

# AddTokenEventsOutput

> Response payload for the onTokenEventsCreated subscription.

### TypeScript shape

```ts theme={null}
interface AddTokenEventsOutput {
  id: string;
  events: Event[];
}
```

<ResponseField name="id" type="String!">Token pointer in the form `tokenAddress:networkId`.</ResponseField>

<ResponseField name="events" type="[Event!]!">
  Events from a single pool that contains the subscribed token, ordered by `(blockNumber, transactionIndex, logIndex)`. See [Event](/api-reference/graphql/types/Event).

  <Expandable title="View Event fields">
    <ResponseField name="id" type="String!">Per-event unique id (`transactionHash:logIndex:networkId`).</ResponseField>
    <ResponseField name="address" type="String!">Pair contract address (lowercase).</ResponseField>
    <ResponseField name="networkId" type="Int!">Network ID the pair is on.</ResponseField>
    <ResponseField name="eventType" type="EventType!">Type of the event. See [EventType](/api-reference/graphql/types/EventType).</ResponseField>
    <ResponseField name="eventDisplayType" type="EventDisplayType">Buy/Sell breakdown of Swap, or Mint/Burn. See [EventDisplayType](/api-reference/graphql/types/EventDisplayType).</ResponseField>
    <ResponseField name="data" type="EventData">Event-specific payload. See [EventData](/api-reference/graphql/types/EventData).</ResponseField>
    <ResponseField name="maker" type="String">Wallet that initiated the transaction.</ResponseField>
    <ResponseField name="token0Address" type="String">Pair's token0 address.</ResponseField>
    <ResponseField name="token1Address" type="String">Pair's token1 address.</ResponseField>
    <ResponseField name="transactionHash" type="String!">Transaction hash.</ResponseField>
    <ResponseField name="logIndex" type="Int!">Log index within the block.</ResponseField>
    <ResponseField name="timestamp" type="Int!">Unix timestamp (seconds).</ResponseField>
  </Expandable>
</ResponseField>
