erc20_balance
Retrieve the balance of any ERC20 token on Rootstock by providing the contract address.
Instructions
Get the balance of an ERC20 token on Rootstock
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": {
"contractAddress": "<contractAddress>"
},
"name": "erc20_balance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| contractAddress | Yes | The address of the contract to get the balance of |