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 swap
swap_typeSwap TypeType of swap pair based on token roles.
protocolProtocolDEX protocol that executed the swap.
walletString [address]Wallet address that initiated the swap
token_inString [address]Token address being swapped from
token_outString [address]Token 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_timeString [date-time]Timestamp of the block
tx_hashStringTransaction signature
swap_indexIntegerIndex of the swap within the transaction

Swap Type

Enum(String)
ValueDescription
quote_tokenQuote (sell) to token (buy) swap
token_quoteToken (sell) to quote (buy) swap
token_tokenToken (sell) to token (buy) swap
quote_quoteQuote (sell) to quote (buy) swap