GetBalance
post
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: [ ' 0x2b5634c42055806a59e9107ed44d43c426e58258', 'latest' ]
Returns
QUANTITY
- integer of the current balance in wei.
Body
jsonrpcstringRequired
methodstringRequired
paramsstring[]Required
idinteger · int32Required
Responses
200
Successful operation
500
Internal Server Error
post
POST //getBalance HTTP/1.1
Host: tomo.nownodes.io
Content-Type: application/json
Accept: */*
Content-Length: 115
{
"jsonrpc": "2.0",
"method": "eth_getBalance",
"params": [
"0x2b5634c42055806a59e9107ed44d43c426e58258",
"latest"
],
"id": 1
}
No content