solana_getspl
Retrieve token balances for any Solana address, filtering out spam tokens as needed, to monitor cryptocurrency holdings across mainnet or devnet networks.
Instructions
Gets token balances owned by the given address
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": {
"network": "<network>",
"address": "<address>"
},
"name": "solana_getspl"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| network | Yes | The network to query | |
| address | Yes | The address to query | |
| excludeSpam | No | Should exclude spam tokens |