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.

commitmentLevel
BarCommitmentLevel!
The commitment level of the bar within the live stream. See BarCommitmentLevel
networkId
Int!
The network ID the pair is deployed on.
timestamp
Int!
The unix timestamp for the new bar.
statsType
TokenPairStatisticsType!
The type of statistics used. Only FILTERED. See TokenPairStatisticsType
eventSortKey
String!
The sortKey for the bar (blockNumber#transactionIndex#logIndex, zero padded). For example, 0000000016414564#00000224#00000413.
aggregates
ResolutionBarData!
Price data broken down by resolution. See ResolutionBarData
tokenAddress
String!
The address of the token being quoted
tokenId
String!
The address of the token being quoted
pairAddress
String
deprecated
The contract address for the pair.
This field is deprecated. pairs are no longer used for pricing
pairId
String
deprecated
The ID for the pair (pairAddress:networkId).
This field is deprecated. pairs are no longer used for pricing
quoteToken
QuoteToken
deprecated
The quote token within the pair. See QuoteToken
This field is deprecated. pairs are no longer used for pricing

Used By

Returned by
  • onTokenBarsUpdated: Live-streamed aggregate bar chart data to track price changes over time for a token.