cURL
curl --request POST \ --url https://{network}.s.chainbase.online/v1/{api-key} \ --header 'Content-Type: application/json' \ --data ' { "id": 1, "jsonrpc": "2.0", "method": "eth_getBalance", "params": [ "0x00000000006c3852cbef3e08e8df289169ede581", "latest" ] } '
{ "id": 1, "jsonrpc": "2.0", "result": "<string>" }
Returns the balance of an account for a given address.
Parameters
DATA
TAG
Returns
QUANTITY
"demo"
1
"2.0"
Successful Response