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.
This endpoint requires a Growth or Enterprise plan. Learn more.
This subscription is deprecated. Use onEventsCreated instead
Returns
See AddUnconfirmedEventsOutput
Show Properties
Show Properties
The contract address of the pair.
The network ID that the token is deployed on.
The ID of the event (
address:networkId). For example, 0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2:1.The token of interest within the pair. Can be
token0 or token1.
See QuoteTokenA list of transactions for the token.
See UnconfirmedEvent
Show Properties
Show Properties
The contract address of the token’s top pair.
The hash of the block where the transaction occurred.
The block number for the transaction.
The ID of the event (
address:networkId). For example, 0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2:1.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 unique hash for the transaction.
The index of the transaction within the block.
A optional unique identifier of where the event is within the transaction.
The event-specific data for the transaction.
See UnconfirmedEventData
Show Properties
Show Properties
See UnconfirmedSwapEventData
Show Properties
Show Properties
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 amount of
baseToken involved in the swapSee UnconfirmedLiquidityChangeEventData
Show Properties
Show Properties
The amount of
token0 added or removed from the pair.The amount of
token1 added or removed 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.Arguments
The pair contract address.
This argument is deprecated. Unused
The ID of the pair (
address:networkId).The token of interest within the pair. Can be
token0 or token1.
See QuoteToken