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.

address
String!
The contract address of the token’s top pair.
commitmentLevel
EventCommitmentLevel!
The commitment level of the event within the live stream. See EventCommitmentLevel
baseTokenPrice
String
The price of the network’s base token.
blockHash
String!
The hash of the block where the transaction occurred.
blockNumber
Int!
The block number for the transaction.
data
EventData
union
The event-specific data for the transaction. Can be BurnEventData or MintEventData or SwapEventData. See EventData
eventType
EventType!
The type of transaction event. Can be Burn, Mint, Swap, Sync, Collect, or CollectProtocol. See EventType
id
String!
The ID of the event (address:networkId). For example, 0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2:1.
liquidityToken
String
The contract address of the token with higher liquidity in the token’s top pair.
logIndex
Int!
The index of the log in the block.
maker
String
The wallet address that performed the transaction.
networkId
Int!
The network ID that the token is deployed on.
quoteToken
QuoteToken
The token of interest within the token’s top pair. Can be token0 or token1. See QuoteToken
timestamp
Int!
The unix timestamp for when the transaction occurred.
token0Address
String
The address of the event’s token0.
token1Address
String
The address of the event’s token1.
token0SwapValueUsd
String
The price of token0 paid/received in USD, including any fees.
token1SwapValueUsd
String
The price of token1 paid/received in USD, including any fees.
token0ValueBase
String
The price of token0 paid/received in the network’s base token, including fees.
token1ValueBase
String
The price of token1 paid/received in the network’s base token, including fees.
token0PoolValueUsd
String
The updated price of token0 in USD, calculated after the transaction.
token1PoolValueUsd
String
The updated price of token1 in USD, calculated after the transaction.
transactionHash
String!
The unique hash for the transaction.
transactionIndex
Int!
The index of the transaction within the block.
supplementalIndex
Int
An optional unique identifier describing where the event appears within the transaction.
eventDisplayType
EventDisplayType
A more specific breakdown of eventType. Splits Swap into Buy or Sell. See EventDisplayType
labels
LabelsForEvent
Labels attributed to the event. See LabelsForEvent
feeData
EventFeeData
Fee breakdown for this event. See EventFeeData
walletAge
Int
The age of the wallet in seconds.
walletLabels
[String!]
Labels attributed to the wallet.

Used By

Returned by