eth_getBalance - Etherlink RPC Method
Query account balance on Etherlink. Essential for wallet applications and historical blockchain data on Etherlink mainnet infrastructure and RPC surface.
Returns the balance of a given address on Etherlink.
When to Use This Method
Read the demonstrated account balance at block 1,000,000. The response is denominated in wei.
Response Body
ResponseBest Practices
Keep the recorded block height and address together when reproducing a historical example. Preserve RPC errors instead of replacing them with empty results.
Code Examples
curl -X POST "https://api-etherlink-mainnet.n.dwellir.com/YOUR_API_KEY" \
-H "Content-Type: application/json" \
--data-raw '{"jsonrpc":"2.0","id":19,"method":"eth_getBalance","params":["0x5d66ec78664f4a0b0929a41270316a6cd4d8bd4b","0xf4240"]}'