zks_getL1BatchBlockRange RPC Method
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
1curl https://docs-demo.zksync-mainnet.quiknode.pro/ \2-X POST \3-H "Content-Type: application/json" \4--data '{"method":"zks_getL1BatchBlockRange","params":[12345 ],"id":1,"jsonrpc":"2.0"}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free