eth_getBalance RPC Method
Parameters
address
string
REQUIRED
Loading...
blockNumber/tag
string
REQUIRED
Loading...
Returns
result
Loading...
Request
1curl -X POST "https://docs-demo.xai-mainnet.quiknode.pro/" \2-H "Content-Type: application/json" \3-d '{4"jsonrpc": "2.0",5"method": "eth_getBalance",6"params": [7"0xf7Cd914bD083ba44025300911be54b2Db670F41d",8"latest"9],10"id": 111}'
1curl -X POST "https://docs-demo.xai-mainnet.quiknode.pro/" \2-H "Content-Type: application/json" \3-d '{4"jsonrpc": "2.0",5"method": "eth_getBalance",6"params": [7"0xf7Cd914bD083ba44025300911be54b2Db670F41d",8"latest"9],10"id": 111}'
Response
1{2"jsonrpc": "2.0",3"id": 1,4"result": "0x9b1a7bb4657800"5}
1{2"jsonrpc": "2.0",3"id": 1,4"result": "0x9b1a7bb4657800"5}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free