Skip to main content
FieldTypeDescription
swap_typeEnum(string)Type of swap pair based on token roles. swap_type
protocolstringDEX protocol that executed the swap. Refer to Data Sources for supported protocols
walletstringWallet address that initiated the swap
token_instringToken address being swapped from
token_outstringToken address being swapped to
token_symbol_instringSymbol of the input token
token_symbol_outstringSymbol of the output token
token_amount_innumberAmount of input token swapped
token_amount_outnumberAmount of output token received
token_price_innumber [USD]Price of input token at swap time
token_price_outnumber [USD]Price of output token at swap time
pre_token_balance_innumberWallet’s input token balance before the swap
pre_token_balance_outnumberWallet’s output token balance before the swap
post_token_balance_innumberWallet’s input token balance after the swap
post_token_balance_outnumberWallet’s output token balance after the swap
usd_amount_innumber [USD]Value of input tokens
usd_amount_outnumber [USD]Value of output tokens
block_slotintegerSolana block slot number
block_timeinteger [unix]Timestamp of the block
tx_hashstringTransaction signature
swap_indexintegerIndex of the swap within the transaction

Enums

Swap Type

  • quote_token: Quote (sell) to token (buy) swap
  • token_quote: Token (sell) to quote (buy) swap
  • token_token: Token (sell) to token (buy) swap
  • quote_quote: Quote (sell) to quote (buy) swap