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.
A list of transactions for a token’s top pair.
See Event
Show Properties
Show Properties
The contract address of the token’s top pair.
The commitment level of the event within the live stream.
See EventCommitmentLevel
The price of the network’s base token.
The hash of the block where the transaction occurred.
The block number for the transaction.
The event-specific data for the transaction. Can be
BurnEventData or MintEventData or SwapEventData.
See EventDataShow Properties
Show Properties
See BurnEventData
Show Properties
Show Properties
The amount of
token0 removed from the pair.The amount of
token1 removed from the pair.The amount of
token0 removed from the pair, adjusted by the number of decimals in the token. For example, if amount0 is in WEI, amount0Shifted will be in ETH.The amount of
token1 removed from the pair, adjusted by the number of decimals in the token. For example, USDC amount1Shifted will be by 6 decimals.The lower tick boundary of the position. Only applicable for UniswapV3 events.
The upper tick boundary of the position. Only applicable for UniswapV3 events.
See MintEventData
Show Properties
Show Properties
The amount of
token0 added to the pair.The amount of
token1 added to the pair.The amount of
token0 added to the pair, adjusted by the number of decimals in the token. For example, if amount0 is in WEI, amount0Shifted will be in ETH.The amount of
token1 added to the pair, adjusted by the number of decimals in the token. For example, USDC amount1Shifted will be by 6 decimals.The lower tick boundary of the position. Only applicable for UniswapV3 events.
The upper tick boundary of the position. Only applicable for UniswapV3 events.
See SwapEventData
Show Properties
Show Properties
The amount of
token0 involved in the swap. Only applicable for UniswapV3 events.The amount of
token0 that was sold. Only applicable for UniswapV2 events.The amount of
token0 that was bought. Only applicable for UniswapV2 events.The amount of
token1 involved in the swap. Only applicable for UniswapV3 events.The amount of
token1 that was sold. Only applicable for UniswapV2 events.The amount of
token1 that was bought. Only applicable for UniswapV2 events.The amount of
quoteToken involved in the swap. For example, if quoteToken is USDC for a USDC/WETH pair, amountNonLiquidityToken would be the amount of USDC involved in the swap.The price per
quoteToken at the time of the swap in the network’s base token. For example, if quoteToken is USDC for a USDC/WETH pair on ETH network, priceBaseToken would the price of USDC in ETH.The total amount of
quoteToken involved in the swap in the network’s base token (amountNonLiquidityToken x priceBaseToken).The price per
quoteToken at the time of the swap in USD. For example, if quoteToken is USDC for a USDC/WETH pair on ETH network, priceBaseToken would the price of USDC in USD ($1.00).The total amount of
quoteToken involved in the swap in USD (amountNonLiquidityToken x priceUsd).The tick index that the swap occurred in. Only applicable for UniswapV3 events.
See PoolBalanceChangedEventData
Show Properties
Show Properties
The amount of
token0 added or removed from the pair.The amount of
token1 added or from the pair.The amount of
token0 added or removed from the pair, adjusted by the number of decimals in the token. For example, if amount0 is in WEI, amount0Shifted will be in ETH.The amount of
token1 added or removed from the pair, adjusted by the number of decimals in the token. For example, USDC amount1Shifted will be by 6 decimals.The address of
token0 in the pair.The address of
token1 in the pair.The address of account that added or removed liquidity.
The amount of token0 captured by the protocol.
The amount of token1 captured by the protocol.
The amount of token0 now in the pool.
The amount of token1 now in the pool.
The ID of the event (
address:networkId). For example, 0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2:1.The contract address of the token with higher liquidity in the token’s top pair.
The index of the log in the block.
The wallet address that performed the transaction.
The network ID that the token is deployed on.
The token of interest within the token’s top pair. Can be
token0 or token1.
See QuoteTokenThe unix timestamp for when the transaction occurred.
The address of the event’s token0.
The address of the event’s token1.
The price of
token0 paid/received in USD, including any fees.The price of
token1 paid/received in USD, including any fees.The price of
token0 paid/received in the network’s base token, including fees.The price of
token1 paid/received in the network’s base token, including fees.The updated price of
token0 in USD, calculated after the transaction.The updated price of
token1 in USD, calculated after the transaction.The unique hash for the transaction.
The index of the transaction within the block.
An optional unique identifier describing where the event appears within the transaction.
Labels attributed to the event.
See LabelsForEvent
Show Properties
Show Properties
See SandwichLabelForEvent
Show Properties
Show Properties
The label type, ‘sandwiched’.
The sandwich event label types.
See SandwichLabelForEventType
The amount of
token0 drained in the attack.The amount of
token1 drained in the attack.See WashtradeLabelForEvent
Show Properties
Show Properties
The label type, ‘washtrade’
Fee breakdown for this event.
See EventFeeData
Show Properties
Show Properties
Pool fee rate in the protocol’s native encoding.
Pool fee rate normalized to basis points (1 bps = 0.01%).
Pool fee absolute amount in the fee token’s smallest unit.
True when the pool fee is dynamic (e.g. UniswapV4 hooks, AlgebraIntegral plugins).
True when poolFeeBps is a protocol-level estimate rather than an exact per-pool or per-swap value (e.g. MintClub averaged mint/burn royalties).
Base fee portion of gas cost in native token smallest unit (wei for EVM, lamports for Solana). baseFeePerGas * gasUsed on EVM, 5000 lamports * signatures on Solana.
Priority fee / gas tip in native token smallest unit. (effectiveGasPrice - baseFeePerGas) * gasUsed on EVM, meta.fee - baseFee on Solana.
Gas units consumed by the transaction (EVM gas units or Solana compute units).
Direct payment to the block builder in native token smallest unit. Sum of ETH transfers to block.coinbase on EVM, or Jito tip on Solana.
L1 data posting fee in native token smallest unit (L2 rollups only: Base, Optimism, etc.).
Number of DEX events in this transaction. Used to pro-rate transaction-level fees per event.
Protocol-specific supplemental fee data (e.g. Pump cashback).
See SupplementalFeeData
Show Properties
Show Properties
The age of the wallet in seconds.
Labels attributed to the wallet.
A cursor for use in pagination. If non-null, more results are available; pages may be empty due to filtering.
Used By
Returned by- getTokenEvents: Returns transactions for a pair.