solana_getswapsbywalletaddress
Retrieve all swap transactions (buy, sell) for a specific Solana wallet address using network, date range, token address, and pagination filters.
Instructions
Get all swap related transactions (buy, sell) for a specific wallet address.
Input 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 items | DESC |
toDate | No | The ending date (format in seconds or datestring accepted by momentjs) | |
tokenAddress | No | Token address to get transactions for | |
transactionTypes | No | Transaction types to fetch. Possible values: 'buy','sell' or both separated by comma | buy,sell |
Input Schema (JSON Schema)
{
"properties": {
"address": {
"description": "The address to query",
"type": "string"
},
"cursor": {
"description": "The cursor to the next page",
"type": "string"
},
"fromDate": {
"description": "The starting date (format in seconds or datestring accepted by momentjs)",
"type": "string"
},
"limit": {
"default": 100,
"description": "The limit per page",
"maximum": 100,
"minimum": 1,
"type": "number"
},
"network": {
"description": "The network to query",
"enum": [
"mainnet",
"devnet"
],
"type": "string"
},
"order": {
"default": "DESC",
"description": "The order of items",
"enum": [
"ASC",
"DESC"
],
"type": "string"
},
"toDate": {
"description": "The ending date (format in seconds or datestring accepted by momentjs)",
"type": "string"
},
"tokenAddress": {
"description": "Token address to get transactions for",
"type": "string"
},
"transactionTypes": {
"default": "buy,sell",
"description": "Transaction types to fetch. Possible values: 'buy','sell' or both separated by comma",
"type": "string"
}
},
"required": [
"network",
"address"
],
"type": "object"
}