zkevm_batchNumberByBlockNumber

Retrieves the batch number of the batch that is connected to the specified block number.

Path parameters

apiKeystringRequired

Request

This endpoint expects an object.
blockNumberstringRequiredformat: "^0x([1-9a-f]+[0-9a-f]*|0)$"

The block number for which to retrieve the associated batch number.

Response

The batch number connected to the given block number, as a hexadecimal string.