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

# onLatestTokens

> Live-streamed updates for newly listed tokens. Reference for the onLatestTokens subscription in the Codex API: arguments, payload fields, and usage.

## GraphQL

```
type Subscription {
  # Requires a Growth or Enterprise plan.
  onLatestTokens(
    id: String
    networkId: Int
    tokenAddress: String
  ): LatestToken
}

type LatestTokenSimResults {
  buySuccess: Boolean
  buyTax: String
  buyGasUsed: String
  maxBuyAmount: String
  sellSuccess: Boolean
  sellTax: String
  sellGasUsed: String
  maxSellAmount: String
  canTransferOwnership: Boolean
  canRenounceOwnership: Boolean
  isOwnerRenounced: Boolean
  openTradingCall: String
}

type LatestToken {
  id: String!
  tokenAddress: String!
  networkId: Int!
  blockNumber: Int!
  transactionIndex: Int!
  traceIndex: Int!
  transactionHash: String!
  blockHash: String!
  timeCreated: Int!
  creatorAddress: String!
  creatorBalance: String!
  tokenName: String!
  totalSupply: String!
  tokenSymbol: String!
  decimals: Int!
  simulationResults: [LatestTokenSimResults!]!
}
```


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