Skip to main content

hl_getLatestBlockNumber JSON-RPC Method

Loading...

Updated on
Jan 07, 2026

hl_getLatestBlockNumber JSON-RPC Method

To know more about the datasets for complete definitions and filtering options for each stream type, see here.

Parameters

stream
string
REQUIRED
Loading...

Returns

result
integer
Loading...
Request
1
curl https://docs-demo.hype-mainnet.quiknode.pro/evm \
2
-X POST \
3
-H "Content-Type: application/json" \
4
--data '{
5
"jsonrpc": "2.0",
6
"method": "hl_getLatestBlockNumber",
7
"params": ["events"],
8
"id": 1
9
}'
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free