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.
The pair contract address to filter by. If you pass a token address in here, it will instead find the top pair for that token and use that.
The token of interest. Can be
token0 or token1.
See QuoteTokenThe amount of
quoteToken involved in the swap.
See NumberFilterThe list of event display types to filter by.
See EventDisplayType
The specific wallet address to filter by.
The network ID to filter by.
The time range to filter by.
See EventQueryTimestampInput
The price per
quoteToken at the time of the swap in the network’s base token.
See NumberFilterThe total amount of
quoteToken involved in the swap in the network’s base token (amountNonLiquidityToken x priceBaseToken).
See NumberFilterThe price per
quoteToken at the time of the swap in USD.
See NumberFilterThe total amount of
quoteToken involved in the swap in USD (amountNonLiquidityToken x priceUsd).
See NumberFilterSpecify the type of symbol you want to fetch values for (TOKEN | POOL)
See SymbolType
Used By
Used as input by- getTokenEvents: Returns transactions for a pair.