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.
| Field | Type | Description |
|---|---|---|
id | Integer | Unique identifier for the swap |
swap_type | Swap Type | Type of swap pair based on token roles. |
protocol | Protocol | DEX protocol that executed the swap. |
wallet | String [address] | Wallet address that initiated the swap |
token_in | String [address] | Token address being swapped from |
token_out | String [address] | Token address being swapped to |
token_symbol_in | String | Symbol of the input token |
token_symbol_out | String | Symbol of the output token |
token_amount_in | Number | Amount of input token swapped |
token_amount_out | Number | Amount of output token received |
token_price_in | Number [USD] | Price of input token at swap time |
token_price_out | Number [USD] | Price of output token at swap time |
pre_token_balance_in | Number | Wallet’s input token balance before the swap |
pre_token_balance_out | Number | Wallet’s output token balance before the swap |
post_token_balance_in | Number | Wallet’s input token balance after the swap |
post_token_balance_out | Number | Wallet’s output token balance after the swap |
usd_amount_in | Number [USD] | Value of input tokens |
usd_amount_out | Number [USD] | Value of output tokens |
block_slot | Integer | Solana block slot number |
block_time | String [date-time] | Timestamp of the block |
tx_hash | String | Transaction signature |
swap_index | Integer | Index of the swap within the transaction |
Swap Type
Enum(String)| Value | Description |
|---|---|
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 |