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

# LatestToken

> Metadata for a newly created token. Reference for the LatestToken type in the Codex API: every field, its type, and the operations that return it.

## GraphQL

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

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

### Used By

**Returned by**

* [getLatestTokens](https://docs.codex.io/api-reference/queries/getlatesttokens.md) *(deprecated)*: Returns a list of latest tokens.
* [onLatestTokens](https://docs.codex.io/api-reference/subscriptions/onlatesttokens.md) *(deprecated)*: Live-streamed updates for newly listed tokens.


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