Skip to main content

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.

address
String!
The contract address of the token.
timestamp
Int
The unix timestamp for the price.
networkId
Int!
The network ID the token is deployed on.
priceUsd
Float!
The token price in USD.
blockNumber
Int
The pool that emitted the swap generating this price
poolAddress
String
deprecated
The pool that emitted the swap generating this price
This field is deprecated. Pricing no longer based on specific pools
confidence
Float
deprecated
Ratio of how confident we are in the price
This field is deprecated. Pricing no longer based on specific pools

Used By

Returned by
  • getTokenPrices: Returns real-time or historical prices for a list of tokens, fetched in batches.
  • onPricesUpdated: Live-streamed price updates for multiple tokens.
  • onPriceUpdated: Live-streamed price updates for a token.