Skip to main content
FieldTypeDescription
protocolstringDEX protocol that executed the trade. Refer to Data Sources for supported protocols
swap_typeEnum(string)Type of underlying swap pair based on token roles. swap_type
walletstringWallet address that executed the trade
tokenstringTraded token address
quotestringQuote token address
positionstringUnique position identifier
directionEnum(string)Direction of the trade. direction
position_stateEnum(string)Position state of the trade. position_state
token_amountnumberAmount of traded token
quote_amountnumberAmount of quote tokens
native_amountnumber [SOL]Native amount
usd_amountnumber [USD]Value of the trade
pre_token_balancenumberTraded token balance before the trade
post_token_balancenumberTraded token balance after the trade
token_symbolstringSymbol of the traded token
quote_symbolstringSymbol of the quote token
token_pricenumber [USD]Price of traded token at trade time
quote_pricenumber [USD]Price of quote token at trade time
block_slotintegerSolana block slot number
block_timeinteger [unix]Timestamp of the block
tx_hashstringTransaction signature
trade_indexintegerIndex of the trade 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

Direction

  • buy: Trader bought a token.
  • sell: Trader sold a token.

Position State

  • open: Trader opened a position.
  • close: Trader closed a position.
  • trade: Trader executed a trade against a position.