eth_getBalance RPC Method
To use the eth_getBalance method on the Avalanche C-Chain, ensure that the end of your URL includes ext/bc/C/rpc.
Parameters
address
string
REQUIRED
Loading...
blockNumber/tag
string
REQUIRED
Loading...
Returns
result
string
Loading...
Request
1curl https://docs-demo.avalanche-mainnet.quiknode.pro \2-X POST \3-H "Content-Type: application/json" \4--data '{5"method": "eth_getBalance",6"params": [7"0x8D97689C9818892B700e27F316cc3E41e17fBeb9",8"latest"9],10"id": 1,11"jsonrpc": "2.0"12}'13
1curl https://docs-demo.avalanche-mainnet.quiknode.pro \2-X POST \3-H "Content-Type: application/json" \4--data '{5"method": "eth_getBalance",6"params": [7"0x8D97689C9818892B700e27F316cc3E41e17fBeb9",8"latest"9],10"id": 1,11"jsonrpc": "2.0"12}'13
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free