v1
latestOpenAPI 3.0.02026-07-26268286602.5 KBGet batch by number.
Retrieves detailed information about a ZkSync batch by its number.
Path parameters
Batch number
The ID of the blockchain
Response
Batch info.
Hash of the parent-chain transaction that committed this batch. null until the commit transaction is observed.
Timestamp of the parent-chain transaction that committed this batch. null until the commit transaction is observed.
Last rollup block included in the batch.
Hash of the parent-chain transaction that executed this batch. null until the execute transaction is observed.
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.
Number of transactions in the batch originating on the parent chain.
Rollup fair gas price for this batch, in wei.
Number of transactions in the batch originating on the rollup.
Batch number on the rollup.
Hash of the parent-chain transaction that proved this batch. null until the prove transaction is observed.
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.
First rollup block included in the batch.
Lifecycle 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.
Timestamp when the batch was sealed on the rollup.