Skip to main content

zks_getL1BatchBlockRange RPC Method

Returns the range of blocks contained within a batch identified by its batch number.

Updated on
Feb 17, 2026

Parameters

batch
integer
REQUIRED

The layer 1 batch number

Returns

result

The range of blocks contained within a given batch. The range is given by beginning/end block numbers in hexadecimal format

Request
Response
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": [
5
"0x116fec",
6
"0x117015"
7
]
8
}
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": [
5
"0x116fec",
6
"0x117015"
7
]
8
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free