solana_getportfolio
Retrieve native and token balances for a Solana address, including NFT metadata and spam filtering options.
Instructions
Gets all the native and token balances of 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_getportfolio"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| network | Yes | The network to query | |
| address | Yes | The address to query | |
| nftMetadata | No | Should return the full NFT metadata | |
| mediaItems | No | Should return media items | |
| excludeSpam | No | Should exclude spam NFTs |