Wallet holdings
wallet_holdingsEverything a Solana wallet holds — SOL, SPL and Token-2022 tokens — valued in USD and sorted by value. Reads token accounts from both token programs and prices them in one pass. Empty accounts are counted as reclaimable rent. When to use: For Solana wallets; for EVM wallets use evm_address. Price: $0.003 per call (10 free/day; after that a payment-required result lists x402 options). Errors: returns isError with a message for invalid input or an upstream failure (not charged).
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": {
"wallet": "<wallet>"
},
"name": "wallet_holdings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wallet | Yes | wallet address. Base58 Solana address, 32-44 chars. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sol | No | ||
| tokens | No | ||
| wallet | No | ||
| sol_usd | No | ||
| total_usd | No | ||
| tokens_usd | No | ||
| empty_accounts | No | ||
| token_accounts | No |