Returns the balance of an account at a given block number.
Documentation Index
Fetch the complete documentation index at: https://chainstack-mintlify-flesh-empty-pages.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
eth_getBalance JSON-RPC method returns the balance of an account at a given block number. This method is fundamental for checking account balances and is essential for wallet applications, portfolio tracking, and balance verification.
address (string, required) — The 20-byte account address to check the balance forblock (string, required) — Block identifier: "latest" (only the latest block is supported on Hyperliquid)result — The account balance in wei as a hexadecimal string0x prefix0xde0b6b3a7640000 = 1,000,000,000,000,000,000 wei = 1 HYPE"latest" block parameter is supportedeth_getBalance method is essential for applications that need to:
eth_getBalance only supports the latest block. Historical balance queries are not supported in the default RPC implementation. All balance queries return the current account state.