check-balance
Check the balance of a wallet for RBTC or ERC20 tokens on Rootstock blockchain, using an existing wallet file or providing wallet data directly.
Instructions
Check the balance of a wallet for RBTC or ERC20 tokens on Rootstock blockchain. You can either use an existing wallet file or provide wallet data directly.
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": {
"testnet": "<testnet>"
},
"name": "check-balance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | No | Token to check balance for (rBTC, USDT, DOC, BPRO, RIF, FISH, Custom Token, etc.) | |
| testnet | Yes | Use testnet (true) or mainnet (false) | |
| walletData | No | Your previously saved wallet configuration file content (my-wallets.json) - can be a JSON object or string - required if you want to use specific wallet data | |
| walletName | No | Specific wallet name to check balance for - uses current wallet if not provided | |
| customTokenAddress | No | Custom token contract address - required if token is 'Custom Token' |