Current offer: every account has 1 reset chance(s) to top its balance back up to 30,000,000 CU in one click. New accounts start with 30,000,000 CU. Learn more →
JSON-RPCMethods

eth_getBalance: parameters, returns and CU

Return the balance of an address at a given block, in wei. See parameters, return value, CU metering and supported chains for this method.

Summary

Return the balance of an address at a given block, in wei.

Compute Units (CU) and Pricing

CU per call

10 CU

Price per 1M calls (USD)

$1

Parameters

ParameterTypeDescription
addressADDRESSAccount address to query.
blockParameterQUANTITY|TAGBlock number or tag: latest, earliest, pending, safe or finalized.

Returns

  • Type: QUANTITY
  • Description: Account balance as a 0x-prefixed hexadecimal quantity in wei.

Notes

The balance depends on the chosen block tag: pending reflects the pending state, while safe and finalized correspond to different confirmation levels.

Request Example

curl -X POST "https://dev-api.blockvectra.network/v1/robinhood_mainnet" \
  -H 'Content-Type: application/json' \
  -H 'x-api-key: <api_key>' \
  -d '{
    "jsonrpc": "2.0",
    "method": "eth_getBalance",
    "params": [
      "<address>",
      "latest"
    ],
    "id": 1
  }'

Supported Chains

Supported chains:

  • EthereumBetaeth_mainnet
  • HyperEVMhyperevm_mainnet
  • Robinhood Chainrobinhood_mainnet