get_account_balance
Retrieve the TRX balance for a TRON account at a specified block height and hash, enabling balance checks tied to a precise on-chain snapshot.
Instructions
Get account TRX balance at a specific block height.
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": {
"address": "<address>",
"blockHash": "<blockHash>",
"blockNumber": "<blockNumber>"
},
"name": "get_account_balance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | Yes | Account address (Base58) | |
| network | No | Network name. Defaults to mainnet. | |
| blockHash | Yes | Block hash (hex string) | |
| blockNumber | Yes | Block number |