Returns the balance of an account at a given block number.
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.