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

# TokenLifecycleEvent

> Events that occur during a token's lifecycle. Only Mint and Burn events right now. TokenLifecycleEvent type reference: every field and its type.

## GraphQL

```
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!
}

enum TokenLifecycleEventType {
  MINT
  BURN
}

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

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

union TokenLifecycleEventData = TokenBurnEventData | TokenMintEventData
```

### Used By

**Returned by**

* [onTokenLifecycleEventsCreated](https://docs.codex.io/api-reference/subscriptions/ontokenlifecycleeventscreated.md) *(deprecated)*: Live-streamed token lifecycle events (mints and burns).
* [tokenLifecycleEvents](https://docs.codex.io/api-reference/queries/tokenlifecycleevents.md) *(deprecated)*: Returns a list of token lifecycle events.


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