> ## 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`. AddTokenLifecycleEventsOutput type reference: every field and its type.

## 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](https://docs.codex.io/api-reference/subscriptions/ontokenlifecycleeventscreated.md) *(deprecated)*: Live-streamed token lifecycle events (mints and burns).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.