post https://zksync-era-mainnet.unifra.io/v1/
Returns the range of blocks contained within a batch given by batch number.
The range is given by beginning/end block numbers in hexadecimal.
Example
Request
curl --location --request POST 'https://zksync-era-mainnet.unifra.io/v1/your-api-key' \
--header 'Content-Type: application/json' \
--data-raw '{"jsonrpc": "2.0", "id": 1, "method": "zks_getL1BatchBlockRange", "params": [ 12345 ]}'
Result
{
"jsonrpc": "2.0",
"result": [
"0x116fec",
"0x117015"
],
"id": 1
}