zks_getBlockDetails
Retrieves details for a given block.
Path parameters
apiKey
Request
This endpoint expects an object.
Block number
The number of the block.
Response
Detailed information about the specified block.
number
Number of the block.
l1BatchNumber
Corresponding L1 batch number.
timestamp
Unix timestamp when the block was committed.
l1TxCount
Number of L1 transactions included in the block.
l2TxCount
Number of L2 transactions included in the block.
rootHash
Root hash of the block's state after execution.
status
Current status of the block (e.g., verified, executed).
commitTxHash
Transaction hash of the commit operation on L1.
committedAt
Timestamp when the block was committed on L1.
proveTxHash
Transaction hash of the proof submission on L1.
provenAt
Timestamp when the proof was submitted on L1.
executeTxHash
Transaction hash of the execution on L1.
executedAt
Timestamp when the block execution was completed on L1.
l1GasPrice
L1 gas price at the time of the block's execution.
l2FairGasPrice
Fair gas price on L2 at the time of the block's execution.
baseSystemContractsHashes
operatorAddress
Address of the operator who committed the block.
protocolVersion
Version of the zkSync protocol the block was committed under.