Skip to main content

hl_getLatestBlockNumber JSON-RPC Method

Loading...

Updated on
May 07, 2026

hl_getLatestBlockNumber JSON-RPC Method

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
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
}'
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