API Reference

Returns the balance of the account of a given address.

Parameters

Params - a string array containing (required):

  • DATA(hex string, required), 20 Bytes - address to check for balance.
  • QUANTITY|TAG(hex string|string, required) - integer block number in hex string format, or the string "latest", "earliest" or "pending", see the default block parameter.

Returns

QUANTITY(hex string) - integer of the current balance in wei.

Language
Click Try It! to start a request and see the response here!