Skip to main content

hl_getLatestBlockNumber JSON-RPC Method

Retrieves the latest block number for a specified Hyperliquid stream.

Updated on
May 07, 2026
Access to /hypercore JSON-RPC methods requires a Build plan or higher. View pricing to upgrade. For complete stream type definitions and filtering options, see the datasets documentation.

Parameters

stream
string
REQUIRED

The stream type to query (trades, orders, events, book, twap, writer_actions, replica_cmds)

Returns

result
integer

The latest block number for the specified stream

Request
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free