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. Please note only the 'latest' block option is supported.

Response

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