Skip to content
Alchemy Logo

zks_getL1BatchBlockRange

POST
/{apiKey}

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

Path Parameters

stringrequireddefaults to docs-demo

For higher throughput, create your own API key

Request

stringformat: "^0x[0-9a-fA-F]{1,8}$"required

The layer 1 batch number.

Responses

200

Array containing the beginning and end block numbers in hexadecimal.

Was this page helpful?