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 event type to filter by.
See EventType
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
When
true, return the token’s latest events across ALL of its pools instead of only its top pool. Requires symbolType: TOKEN, rejects quoteToken, and issues cursors that are not interchangeable with top-pool cursors. Slower. Available on the DEFINED plan only. Defaults to false.Only return events from this transaction (exact match; EVM hashes are matched case-insensitively). Applied inside the pair and time range scan, so pass the block timestamp as
timestamp { from, to } (an equal from and to is inclusive) to keep the scan small.Used By
Used as input by- getTokenEvents: Returns transactions for a pair.