Empty Accounts
get-wallet-empty-accountsEmpty Accounts. Calls only GET /v4/wallets/{ownerAddress}/empty-accounts and returns that response. Solana API endpoint for fetching empty Token-2022 and SPL token accounts for a wallet. Returns results to identify accounts eligible for rent cleanup.
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": {
"ownerAddress": "<ownerAddress>"
},
"name": "get-wallet-empty-accounts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number to return (zero-indexed). Defaults to 0. | |
| limit | No | Maximum number of empty accounts to return. Defaults to 1000. | |
| sortByAsc | No | Sort ascending by 'tokenAccountAddress', 'mintAddress', 'name', 'symbol', 'decimals', or 'rentUsd'. If omitted, no sorting is applied. Only one of `sortByAsc` or `sortByDesc` can be used. | |
| sortByDesc | No | Sort descending by 'tokenAccountAddress', 'mintAddress', 'name', 'symbol', 'decimals', or 'rentUsd'. If omitted, no sorting is applied. Only one of `sortByAsc` or `sortByDesc` can be used. | |
| ownerAddress | Yes | Typed Solana public key identifier used across request parameters and response fields. Path parameter for /v4/wallets/{ownerAddress}/empty-accounts. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | ||
| status | No |