eth_getBalance RPC Method
To use the eth_getBalance method on the C-Chain, ensure that the end of your URL includes ext/bc/C/rpc.
Parameters
address
string
REQUIRED
The address (20 bytes) to check for balance
blockNumber/tag
string
REQUIRED
The block number in hexadecimal format or the string latest, earliest, pending, safe or finalized
Returns
result
string
The value of the balance of the specified address in hexadecimal value, measured in wei
Request
1curl https://docs-demo.flare-mainnet.quiknode.pro/ext/bc/C/rpc \2-X POST \3-H "Content-Type: application/json" \4--data '{"method":"eth_getBalance","params":["0x7Ac6d25FD5E437cB7c57Aee77aC2d0A6Cb85936C", "latest"],"id":1,"jsonrpc":"2.0"}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free