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
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 account balance
The response is of type object
.
Was this page helpful?