Quicknode RPC icon

Quicknode RPC

Interact with blockchain via Quicknode RPC

Get Balance

AI-generated

Summary

Queries the balance of an Ethereum address at a specified block using the eth_getBalance RPC method.

Inputs

  • address (required) — The Ethereum address to query (42 characters starting with 0x).
  • block — Block identifier (decimal, hex, or tag like 'latest', 'earliest', 'pending', 'safe', 'finalized'). Defaults to 'latest'.

Output shape

A single item containing the raw balance as a hex string and human-readable conversions (Wei and ETH).

Includes metadata fields: balanceWei (string), balanceEth (decimal), method, and network.

Examples

Example 1: Check the current balance of a wallet address.

Address: 0x123...456, Block: latest

Example 2: Check the balance of an address as of a specific block.

Address: 0x123...456, Block: 18234567

Links

Discussion