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.

pairAddress
String!
The contract address for the pair.
networkId
Int!
The network ID the pair is deployed on.
pairId
String!
The ID for the pair (pairAddress:networkId).
timestamp
Int!
The unix timestamp for the new bar.
statsType
TokenPairStatisticsType!
The type of statistics used. Can be FILTERED or UNFILTERED. See TokenPairStatisticsType
eventSortKey
String!
The sortKey for the bar (blockNumber#transactionIndex#logIndex, zero padded). For example, 0000000016414564#00000224#00000413.
commitmentLevel
BarCommitmentLevel!
The commitment level of the bar update within the live stream. See BarCommitmentLevel
aggregates
ResolutionBarData!
Price data broken down by resolution. For processed updates, this is a confirmed-shaped compatibility projection. See ResolutionBarData
quoteToken
QuoteToken
The quote token within the pair. See QuoteToken
quoteTokenAddress
String!
The address of the token being quoted

Used By

Returned by
  • onBarsUpdated: Live-streamed bar chart data to track price changes over time. Processed updates are projected into aggregates using the confirmed bar shape.