Skip to main content
POST
eth_getBalance
BNB API method that returns the balance of a specific Ethereum account in Wei, the smallest unit of ether. This method allows developers to retrieve the current balance of a BNB account for various purposes, such as checking available funds or displaying balance information.
When called against a block older than the latest ~128 blocks, this method is treated as an archive request (2 RUs instead of 1 RU). See request units.
Get your own node endpoint todayStart for free and get your app to production levels immediately. No credit card required.You can sign up with your GitHub, X, Google, or Microsoft account.

Parameters

  • address — the address to check the balance of.
  • quantity or tag — the integer of a block encoded as hexadecimal or the string with:
    • latest — the most recent block in the blockchain and the current state of the blockchain at the most recent block. A chain reorganization is to be expected.
    • safe — the latest justified block. Under BSC fast finality, a block becomes justified when more than two-thirds of the validators vote for it and its direct child carries their attestation in its header, so safe usually trails latest by a block or two.
    • finalized — the latest finalized block: a justified block whose direct child is also justified. Two conflicting blocks can both reach finality only if one-third or more of the validators violate the voting rules.
    • earliest — the earliest available or genesis block
    • pending— the pending state and transactions block. This is the current state of transactions that have been broadcast to the network but have not yet been included in a block.

Response

  • quantity — the integer value of the current balance in Wei

eth_getBalance code examples

Use case

One practical use case for eth_getBalance is to check the balance of an account for a program that scans the balance periodically and fills up the account when the balance drops below a certain value.

Body

application/json
id
integer
default:1
jsonrpc
string
default:2.0
method
string
default:eth_getBalance
params
string[]

The address identifier.

Response

200 - application/json

The account balance.

jsonrpc
string
id
integer
result
object
Last modified on November 13, 2026