Get swaps
get_swapsRetrieve normalized DEX swap history for a Solana wallet, including sold/bought assets, venue, fees, and per-mint net positions for trading behavior, wash-trading, and PnL analysis.
Instructions
Normalized DEX swap history for a wallet: what was sold, what was bought, venue and fee per trade, plus a per-mint net-position summary. Use for trading behaviour, wash-trading and PnL groundwork.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"address": "<address>"
},
"name": "get_swaps"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| source | No | Filter by venue, e.g. JUPITER, RAYDIUM, ORCA, PUMP_FUN | |
| address | Yes | Base58 Solana address | |
| includeTrades | No | Include the per-trade list | |
| resumeBeforeSignature | No | Continue an earlier scan from this signature (nextBeforeSignature) |