zks_getBlockDetails RPC Method
Parameters
block
string
REQUIRED
The number of the block
Returns
baseSystemContractsHashes
object
An object containing hashes of the base system contracts used in the transaction
bootloader
string
The hash of the bootloader contract
default_aa
string
The hash of the default account contract
evm_emulator
string
A module for emulating EVM behavior to ensure compatibility with EVM-based smart contracts
commitTxHash
string
The hash of the transaction committed to the network
committedAt
string
The timestamp when the transaction was committed to the network
commitChainId
string
The Chain ID of the network where the transaction or state commitment is recorded, ensuring traceability and network-specific identification
executeTxHash
string
The hash of the transaction executed on the network
executedAt
string
The timestamp when the transaction was executed on the network
executeChainId
string
The chain ID of the network where the execution occurred
l1BatchNumber
integer
The batch number of the transaction on the L1 (Ethereum) network
l1GasPrice
integer
The gas price used for the transaction on the L1 network
l1TxCount
integer
The number of transactions related to this batch on the L1 network
l2FairGasPrice
integer
The fair gas price used for the transaction on the L2 (zkSync) network
l2TxCount
integer
The total number of transactions on the L2 network
number
integer
The transaction number
operatorAddress
string
The address of the operator who executed the transaction
proveTxHash
string
The hash of the proof transaction on the L1 network
provenAt
string
The timestamp when the proof transaction was done on the L1 network
fairPubdataPrice
integer
The calculated fair gas price for transactions on L2 in wei
rootHash
string
The root hash representing the state of the network after the transaction
status
string
The status of the transaction
timestamp
integer
The UNIX timestamp of the transaction
protocolVersion
string
The version of the protocol in use
Request
1curl https://docs-demo.abstract-mainnet.quiknode.pro/ \2-X POST \3-H "Content-Type: application/json" \4--data '{"method":"zks_getBlockDetails","params":[240226],"id":1,"jsonrpc":"2.0"}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free