Get batch by number.
Retrieves detailed information about a ZkSync batch by its number.
Authorizations
API key passed as a Bearer token in the Authorization header.
Path Parameters
Batch number
x >= 0The ID of the blockchain
Response
Batch info.
ZkSync rollup batch - a group of rollup blocks settled together on the parent chain - with the corresponding parent-chain lifecycle data.
Hash of the parent-chain transaction that committed this batch. null until the commit transaction is observed.
^0x([A-Fa-f0-9]{64})$Timestamp of the parent-chain transaction that committed this batch. null until the commit transaction is observed.
Last rollup block included in the batch.
x >= 0Hash of the parent-chain transaction that executed this batch. null until the execute transaction is observed.
^0x([A-Fa-f0-9]{64})$Timestamp of the parent-chain transaction that executed this batch. null until the execute transaction is observed.
Parent-chain gas price observed for this batch, in wei.
^([1-9][0-9]*|0)$Number of transactions in the batch originating on the parent chain.
x >= 0Rollup fair gas price for this batch, in wei.
^([1-9][0-9]*|0)$Number of transactions in the batch originating on the rollup.
x >= 0Batch number on the rollup.
x >= 0Hash of the parent-chain transaction that proved this batch. null until the prove transaction is observed.
^0x([A-Fa-f0-9]{64})$Timestamp of the parent-chain transaction that proved this batch. null until the prove transaction is observed.
State root hash committed for this batch on the parent chain.
^0x([A-Fa-f0-9]{64})$First rollup block included in the batch.
x >= 0Lifecycle status of the batch:
Sealed on L2- Batch is finalized on the rollup and no parent-chain lifecycle transaction has been observed yet.Sent to L1- Commit transaction has been submitted on the parent chain.Validated on L1- Prove transaction has been submitted on the parent chain.Executed on L1- Execute transaction has been submitted on the parent chain.
Executed on L1, Validated on L1, Sent to L1, Sealed on L2 Timestamp when the batch was sealed on the rollup.