get_account_balance
Retrieve the HBAR balance of a Hedera account by providing the account ID and network. Uses JSON-RPC to query mainnet, testnet, or previewnet via the HashPilot MCP server.
Instructions
Get the HBAR balance of a Hedera account using JSON-RPC
Input Schema
Name | Required | Description | Default |
---|---|---|---|
accountId | Yes | The Hedera account ID (e.g., 0.0.12345) | |
network | No | Network to query (mainnet, testnet, previewnet). Default: testnet |
Input Schema (JSON Schema)
{
"properties": {
"accountId": {
"description": "The Hedera account ID (e.g., 0.0.12345)",
"type": "string"
},
"network": {
"description": "Network to query (mainnet, testnet, previewnet). Default: testnet",
"enum": [
"mainnet",
"testnet",
"previewnet"
],
"type": "string"
}
},
"required": [
"accountId"
],
"type": "object"
}