POST
/
3997273fc956a67dc6982384500e669e
curl --request POST \
  --url https://ronin-mainnet.core.chainstack.com/3997273fc956a67dc6982384500e669e \
  --header 'Content-Type: application/json' \
  --data '{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "eth_getBalance",
  "params": [
    "0xa459322a949b97c1cbcf3c82dfc4de9fefc6fb7c",
    "latest"
  ]
}'
{
  "jsonrpc": "<string>",
  "id": 123,
  "result": "<string>"
}

The eth_getBalance method returns the balance of the account of a given address, expressed in wei. This method provides a simple way to query the amount of Ether held by an address at a specific block height.

Get you own node endpoint today

Start 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 get the balance from.
  • blockParameter (optional): This can be a hexadecimal block number, or the strings “latest”, “earliest”, or “pending”, indicating the state from which to get the balance.

Response

  • result: The balance of the account at the given address, returned as a hexadecimal number.

Use case

This method is commonly used to check the balance of an address. It’s useful for wallets, explorers, and other applications that need to display the current or historical balance of a Ronin account.

Body

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

Response

200 - application/json
Balance of the account in wei
jsonrpc
string
id
integer
result
string