solana_getswapsbytokenaddress
Query all swap transactions (buy, sell) for a specific Solana token address by network, date range, or transaction type. Useful for tracking token activity and analyzing trade history.
Instructions
Get all swap related transactions (buy, sell) for a specific token address.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | Yes | The address to query | |
| 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 the results, in ascending (ASC) or descending (DESC). | DESC |
| toDate | No | The ending date (format in seconds or datestring accepted by momentjs) | |
| transactionTypes | No | Transaction types to fetch. Possible values: 'buy','sell' or both separated by comma | buy,sell |