API Reference

eth_getBalance

Returns the balance of the account of given address.

Request Parameters

  • ADDRESS [required] - a string representing the address (20 bytes) to check for balance
  • BLOCK PARAMETER [required] - a hexadecimal block number, or the string "latest", "earliest" or "pending".

Response

Returns the balance of the account of given address.

Result Fields
  • BALANCE - hexadecimal of the current balance in Wei.

Examples

Example Responses
{
    "jsonrpc": "2.0",
    "id": 1,
    "result": "0x2366869b2b02b8"
}
Language
Click Try It! to start a request and see the response here!