Eth_getBalance

Get ETH Balance of an Address

post

Retrieves the balance (in wei) of a given Ethereum address. You can specify the block parameter to get the balance at a specific block.

Authorizations
api-keystringRequired
Body
jsonrpcstringRequired

JSON-RPC version

Example: 2.0
methodstringRequired

JSON-RPC method name

Example: eth_getBalance
paramsstring[] · min: 2 · max: 2Required

Array with 2 parameters:

  1. Address (20-byte hex string with '0x' prefix)
  2. Block tag (e.g., 'latest', 'earliest', 'pending', or block number in hex)
Example: ["0x742d35Cc6634C0532925a3b844Bc454e4438f44e","latest"]
idintegerRequired

Request ID

Example: 1
Responses
chevron-right
200

Balance (in wei) as hex string

application/json
jsonrpcstringOptional

JSON-RPC version

Example: 2.0
idintegerOptional

Same ID as in request

Example: 1
resultstringOptional

Balance in wei as hexadecimal string. Example: "0x0234c8a3397aab58" = 158972490234375000 in decimal.

Example: 0x0234c8a3397aab58
post
/
200

Balance (in wei) as hex string

Last updated