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 contract address of the tokenβs top pair.
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 EventData See BurnEventData 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 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 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.
PoolBalanceChangedEventData
PoolBalanceChangedEventData
See PoolBalanceChangedEventData 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 type of transaction event. Can be Burn, Mint, Swap, Sync, Collect, or CollectProtocol.
See EventType 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 QuoteToken The 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.
A more specific breakdown of eventType. Splits Swap into Buy or Sell.
See EventDisplayType Labels attributed to the event.
See LabelsForEvent See SandwichLabelForEvent The label type, βsandwichedβ.
sandwichType
SandwichLabelForEventType!
The amount of token0 drained in the attack.
The amount of token1 drained in the attack.
Fee breakdown for this event.
See EventFeeData 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 See PumpCashbackFeeData Discriminant for the SupplementalFeeData union.
Cashback fee rate in basis points.
Cashback amount in lamports.
See PumpAmmCashbackFeeData Discriminant for the SupplementalFeeData union.
Cashback fee rate in basis points.
Cashback amount in lamports.
The age of the wallet in seconds.
Labels attributed to the wallet.
Used By Returned by