Skip to main content

zks_getL1BatchBlockRange RPC Method

Loading...

Updated on
Feb 17, 2026

zks_getL1BatchBlockRange RPC Method

Parameters

batch
integer
REQUIRED
Loading...

Returns

result
Loading...
Request
1
curl -X POST "https://docs-demo.zksync-mainnet.quiknode.pro/" \
2
-H "Content-Type: application/json" \
3
-d '{
4
"jsonrpc": "2.0",
5
"method": "zks_getL1BatchBlockRange",
6
"params": [
7
12345
8
],
9
"id": 1
10
}'
1
curl -X POST "https://docs-demo.zksync-mainnet.quiknode.pro/" \
2
-H "Content-Type: application/json" \
3
-d '{
4
"jsonrpc": "2.0",
5
"method": "zks_getL1BatchBlockRange",
6
"params": [
7
12345
8
],
9
"id": 1
10
}'
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