getBalance
1 min
POST
{{ENVIRONMENT}}
Content-Typestring
bodystring
200
curl --request POST \
--url {{ENVIRONMENT}} \
--header 'accept: application/json'Returns the balance of the account of given address.
Parameters
DATA, 20 Bytes - address to check for balance.
QUANTITY|TAG - integer block number, or the string "latest", "earliest" or "pending", see the default block parameter
params: [
' 0x407d73d8a49eeb85d32cf465507dd71d507100c1',
'latest'
]
Returns
QUANTITY - integer of the current balance in wei.
curl --request POST \
--url {{ENVIRONMENT}} \
--header 'accept: application/json'