- Hedera introduced MirrorNodeAccountBalanceQuery as the SDK-native replacement for AccountBalanceQuery, letting developers read $HBAR balances from Mirror Nodes without hand-built REST calls.
- The new query is available in JavaScript, Java and Go, supports multiple account ID formats, requires no $HBAR payment and includes automatic retries for transient errors.
- Migration is mandatory for applications using AccountBalanceQuery because its consensus-node endpoint is throttled to zero on testnet and mainnet from software release v0.77.
Hedera has introduced MirrorNodeAccountBalanceQuery, an SDK-native replacement for AccountBalanceQuery that lets developers read $HBAR balances from Mirror Node infrastructure without leaving the query interface. In the official announcement, Hedera said the method is available in JavaScript, Java and Go Hiero SDKs and requires no new dependencies or client configuration. For developers building on Hedera, the migration shifts balance reads away from consensus nodes. MirrorNodeAccountBalanceQuery turns a REST-based data path into a first-class SDK workflow while preserving the AccountBalance-style result developers already use.
Hedera Moves $HBAR Balance Reads to Mirror Nodes
MirrorNodeAccountBalanceQuery retrieves an account’s $HBAR balance from the Mirror Node GET /api/v1/balances endpoint. The method is free to execute, requires no query payment and automatically retries transient 5xx responses or network failures using exponential backoff. It also accepts account identifiers, including shard.realm.num, EVM addresses, public-key aliases and contract IDs through setAccountId. That flexibility brings Mirror Node resolution into SDK-based account lookups, extending Hedera’s broader developer tooling strategy without forcing applications to build custom REST or retry logic.