zks_getL1BatchDetails

Retrieves details for a given L1 batch.

Path parameters

apiKeystringRequired

Request

This endpoint expects an object.
L1 batch numberstringRequiredformat: "^0x[0-9a-fA-F]{1,8}$"

L1 batch number.

Response

Detailed information about the specified L1 batch.

numberinteger

L1 batch number.

timestampinteger

Unix timestamp when the batch was processed.

l1TxCountinteger

Number of L1 transactions included in the batch.

l2TxCountinteger

Number of L2 transactions associated with this batch.

rootHashstringformat: "^0x[0-9a-f]{64}$"

Root hash of the state after processing the batch.

statusstring

Current status of the batch (e.g., verified).

commitTxHashstringformat: "^0x[0-9a-f]{64}$"

Ethereum transaction hash for the commit operation.

committedAtstring

Timestamp when the batch was committed on Ethereum.

proveTxHashstringformat: "^0x[0-9a-f]{64}$"

Ethereum transaction hash for the proof submission.

provenAtstring

Timestamp when the proof was submitted.

executeTxHashstringformat: "^0x[0-9a-f]{64}$"

Ethereum transaction hash for the execution.

executedAtstring

Timestamp when the execution was completed.

l1GasPriceinteger

Gas price on L1 at the time of batch processing.

l2FairGasPriceinteger

Fair gas price on L2 at the time of batch processing.

baseSystemContractsHashesobject