Check out our new component library - build.abs.xyz!
cURL
curl --request POST \ --url https://api.mainnet.abs.xyz/eth_getBalance \ --header 'Content-Type: application/json' \ --data '{ "jsonrpc": "2.0", "id": 1, "method": "eth_getBalance", "params": [ "0x8fe5810cd78eb8d8b9abad8527dfc1265bee6c56", "latest" ] }'
{ "jsonrpc": "2.0", "result": "0x4563918244f40000", "id": 1 }
Returns the balance of the given address
JSON-RPC version
The method to call
Address and block parameter
Request identifier
Returns the account balance
"2.0"
1
The current balance in wei
"0x4563918244f40000"
Was this page helpful?