Skip to main content
POST
zks_getL1BatchBlockRange

Body

application/json
jsonrpc
string
default:2.0
required

JSON-RPC version

method
string
default:zks_getL1BatchBlockRange
required

The method to call

params
any[]
required

Call parameters

id
integer
default:1
required

Request identifier

Response

200 - application/json

Returns the range of blocks in the batch

jsonrpc
string
Example:

"2.0"

id
integer
Example:

1

result
string[]

Array with two elements: the first and the last block number (inclusive) of the requested batch

Block number in hexadecimal format

Example: