Skip to main content

eth_getBalance RPC Method

Loading...

Updated on
May 25, 2026

eth_getBalance RPC Method

MegaETH nodes use a ~15-day pruning window for historical state data. Querying a balance at a block older than ~15 days (1,296,064 blocks) may fail because the required account history has been pruned. For more details, see the MegaETH Pruning Policy.

Parameters

address
string
REQUIRED
Loading...
blockNumber/tag
string
REQUIRED
Loading...

Returns

result
string
Loading...
Request
Response
1
{
2
"jsonrpc": "2.0",
3
"result": "0x155c7de375344be00065",
4
"id": 1
5
}
1
{
2
"jsonrpc": "2.0",
3
"result": "0x155c7de375344be00065",
4
"id": 1
5
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free