zkevm_batchNumberByBlockNumber
POST
/{apiKey}
Retrieves the batch number of the batch that is connected to the specified block number.
Path Parameters
stringrequireddefaults to
docs-demoFor higher throughput, create your own API key
Request
string
format: "^0x([1-9a-f]+[0-9a-f]*|0)$"requiredThe block number for which to retrieve the associated batch number.
Responses
200
The batch number connected to the given block number, as a hexadecimal string.
Was this page helpful?