Returns the number of the most recent block. This method provides the current block height of the Hyperliquid EVM blockchain, which is essential for tracking blockchain state and synchronization.
eth_blockNumber
JSON-RPC method returns the number of the most recent block on the Hyperliquid EVM blockchain. This method is fundamental for tracking blockchain state, monitoring synchronization status, and implementing block-based logic in applications.
params
field should be an empty array.
result
— The current block number as a hexadecimal string (e.g., “0x1b4” which equals 436 in decimal)eth_blockNumber
method is essential for applications that need to:
Successful response with the current block number
The response is of type object
.