eth_getBalance method
Returns the balance of an account with a given address
Parameters
DATA
, 20 Bytes - address to check for the balance.QUANTITY|TAG
- integer block number, or the string"latest"
,"earliest"
or"pending"
, see the default block parameter
If the Node is Full Archive, then it's possible to query for the balance at a certain block height.
Returns
QUANTITY
- integer of the current balance in wei.
Example
Last updated