solana_getswapsbypairaddress
Retrieve all swap transactions (buy, sell, add liquidity, remove liquidity) for a specific token pair address on Solana networks, with customizable filters and pagination support.
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 |
|---|---|---|---|
| cursor | No | The cursor to the next page | |
| fromDate | No | The starting date (format in seconds or datestring accepted by momentjs) | |
| limit | No | The limit per page | |
| network | Yes | The network to query | |
| order | No | The order of items | DESC |
| pairAddress | Yes | The address of the pair to query | |
| 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 |