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 trade |
protocol | Protocol | DEX protocol that executed the trade. |
swap_type | Swap Type | Type of underlying swap pair based on token roles. |
wallet | String [address] | Wallet address that executed the trade |
token | String [address] | Traded token address |
quote | String [address] | Quote token address |
position | String [address] | Wallet-token position address |
direction | Direction | Direction of the trade. |
position_state | Position State | Position state of the trade. |
token_amount | Number | Amount of traded token |
quote_amount | Number | Amount of quote tokens |
native_amount | Number [SOL] | Native amount |
usd_amount | Number [USD] | Value of the trade |
pre_token_balance | Number | Traded token balance before the trade |
post_token_balance | Number | Traded token balance after the trade |
token_symbol | String | Symbol of the traded token |
quote_symbol | String | Symbol of the quote token |
token_price | Number [USD] | Price of traded token at trade time |
quote_price | Number [USD] | Price of quote token at trade time |
token_market_cap | Number [USD] | Market cap of the traded token at trade time |
block_slot | Integer | Solana block slot number |
block_time | String [date-time] | Timestamp of the block |
tx_hash | String | Transaction signature |
trade_index | Integer | Index of the trade within the transaction |
Direction
Enum(String)
| Value | Description |
|---|
buy | Trader bought a token. |
sell | Trader sold a token. |
Position State
Enum(String)
| Value | Description |
|---|
open | Trader opened a position. |
close | Trader closed a position. |
trade | Trader executed a trade against a position. |