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.

amountNonLiquidityToken
String
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.
priceBaseToken
String
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.
priceBaseTokenTotal
String
The total amount of quoteToken involved in the swap in the network’s base token (amountNonLiquidityToken x priceBaseToken).
priceUsd
String
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).
priceUsdTotal
String
The total amount of quoteToken involved in the swap in USD (amountNonLiquidityToken x priceUsd).
type
EventType!
The type of token event, Swap. See EventType
amountBaseToken
String
The amount of baseToken involved in the swap

Used By

Returned by
  • onUnconfirmedEventsCreated (deprecated): Deprecated unconfirmed live-streamed transactions for a token. Use onEventsCreated instead. (Solana only)
  • onUnconfirmedEventsCreatedByMaker (deprecated): Deprecated unconfirmed live-streamed transactions for a maker. Use onEventsCreatedByMaker instead. (Solana only)