Skip to main content

hl_getBatchBlocks JSON-RPC Method

Loading...

Updated on
Sep 17, 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.

The height field is missing on older replica_cmds blocks

The top-level height field was added to Hyperliquid's raw replica_cmds data on 2026-07-25, starting at block 1085381001. Blocks produced before that change are still returned in full, with abci_block and resps, but the response object has no height key, so the payload itself does not tell you which block you received. Track the block number from your own request when you query that range. This applies only to the replica_cmds stream. Every other stream returns block_number on every block.

Parameters

stream
string
REQUIRED
Loading...
from
integer
REQUIRED
Loading...
to
integer
REQUIRED
Loading...

Returns

Loading...
result
object
Loading...
Loading...
blocks
array
Loading...
block_number
integer
Loading...
block_time
string
Loading...
local_time
string
Loading...
events
array
Loading...
address
string
Loading...
payload
object
Loading...
coin
string
Loading...
px
string
Loading...
sz
string
Loading...
side
string
Loading...
time
integer
Loading...
startPosition
string
Loading...
dir
string
Loading...
closedPnl
string
Loading...
hash
string
Loading...
oid
integer
Loading...
crossed
boolean
Loading...
fee
string
Loading...
feeToken
string
Loading...
tid
integer
Loading...
twapId
integer
Loading...
cloid
string
Loading...
builder
string
Loading...
builderFee
string
Loading...
Request
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free