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

# AddTokenLifecycleEventsOutput

> Response returned by `onTokenLifecycleEventsCreated`.

<div data-generated>
  ## GraphQL

  ```
  type AddTokenLifecycleEventsOutput {
    id: String!
    events: [TokenLifecycleEvent!]!
  }

  enum TokenLifecycleEventType {
    MINT
    BURN
  }

  type TokenBurnEventData {
    amount: String!
    totalSupply: String
    circulatingSupply: String
  }

  type TokenMintEventData {
    amount: String!
    totalSupply: String
    circulatingSupply: String
  }

  union TokenLifecycleEventData = TokenBurnEventData | TokenMintEventData

  type TokenLifecycleEvent {
    tokenAddress: String!
    networkId: Int!
    blockHash: String!
    blockNumber: Int!
    id: String!
    logIndex: Int!
    maker: String
    timestamp: Int!
    transactionHash: String!
    transactionIndex: Int!
    eventType: TokenLifecycleEventType!
    data: TokenLifecycleEventData!
  }
  ```

  ### Used By

  **Returned by**

  * [onTokenLifecycleEventsCreated](/api-reference/subscriptions/ontokenlifecycleeventscreated.md) *(deprecated)*: Live-streamed token lifecycle events (mints and burns).
</div>
