Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.prismapi.io/llms.txt

Use this file to discover all available pages before exploring further.

FieldTypeDescription
idIntegerUnique identifier for the trade
protocolProtocolDEX protocol that executed the trade.
swap_typeSwap TypeType of underlying swap pair based on token roles.
walletString [address]Wallet address that executed the trade
tokenString [address]Traded token address
quoteString [address]Quote token address
positionString [address]Wallet-token position address
directionDirectionDirection of the trade.
position_statePosition StatePosition state of the trade.
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
token_market_capNumber [USD]Market cap of the traded token at trade time
block_slotIntegerSolana block slot number
block_timeString [date-time]Timestamp of the block
tx_hashStringTransaction signature
trade_indexIntegerIndex of the trade within the transaction

Direction

Enum(String)
ValueDescription
buyTrader bought a token.
sellTrader sold a token.

Position State

Enum(String)
ValueDescription
openTrader opened a position.
closeTrader closed a position.
tradeTrader executed a trade against a position.