Description: Retrieves the balance of a given address in Wei.
Parameters
Name
Type
Description
address
string
The address to check for balance.
quantity or tag
integer / string (optional)
integer
Block number or one of 'latest', 'earliest', or 'pending'.
'latest'
'earliest'
'pending'
Returns
Current balance in Wei, encoded as a hexadecimal.