solana_getswapsbypairaddress
Retrieve swap transactions for a Solana token pair, including buys, sells, and liquidity changes, to analyze trading activity and liquidity flows.
Instructions
Get all swap related transactions (buy, sell, add liquidity & remove liquidity) for a specific pair address.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| network | Yes | The network to query | |
| pairAddress | Yes | The address of the pair to query | |
| limit | No | The limit per page | |
| cursor | No | The cursor to the next page | |
| order | No | The order of items | DESC |
| fromDate | No | The starting date (format in seconds or datestring accepted by momentjs) | |
| toDate | No | The ending date (format in seconds or datestring accepted by momentjs) | |
| transactionTypes | No | Transaction types to fetch. Possible values: 'buy', 'sell', 'addLiquidity' or 'removeLiquidity' separated by comma | buy,sell,addLiquidity,removeLiquidity |