eth_getBalance

Returns the balance of the account of a given address.

Path parameters

apiKeystringRequired

Request

This endpoint expects an object.
AddressstringRequiredformat: "^0x[0-9a-fA-F]{40}$"

The address of the account to query the balance for.

Blockstring or enumRequired

The block number, tag, or hash at which to retrieve the balance. Can be a block number, ‘latest’, ‘earliest’, ‘pending’, or a block hash.

Response

The balance of the account in wei, encoded as a hexadecimal string.