Skip to main content

zks_getBlockDetails RPC Method

Returns additional zkSync-specific information about the L2 block.

Updated on
Apr 03, 2026

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 | null

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
integer | 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
integer | 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
Response
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": {
5
"number": 140599,
6
"l1BatchNumber": 1617,
7
"timestamp": 1679815038,
8
"l1TxCount": 0,
9
"l2TxCount": 20,
10
"rootHash": "0xf1adac176fc939313eea4b72055db0622a10bbd9b7a83097286e84e471d2e7df",
11
"status": "verified",
12
"commitTxHash": "0xd045e3698f018cb233c3817eb53a41a4c5b28784ffe659da246aa33bda34350c",
13
"committedAt": "2023-03-26T07:21:21.046817Z",
14
"commitTxFinality": "finalized",
15
"commitChainId": null,
16
"proveTxHash": "0x1591e9b16ff6eb029cc865614094b2e6dd872c8be40b15cc56164941ed723a1a",
17
"proveTxFinality": "finalized",
18
"provenAt": "2023-03-26T19:48:35.200565Z",
19
"proveChainId": null,
20
"executeTxHash": "0xbb66aa75f437bb4255cf751badfc6b142e8d4d3a4e531c7b2e737a22870ff19e",
21
"executeTxFinality": "finalized",
22
"executedAt": "2023-03-27T07:44:52.187764Z",
23
"executeChainId": null,
24
"precommitTxHash": null,
25
"precommitTxFinality": null,
26
"precommittedAt": null,
27
"precommitChainId": null,
28
"l1GasPrice": 20690385511,
29
"l2FairGasPrice": 250000000,
30
"fairPubdataPrice": null,
31
"baseSystemContractsHashes": {
32
"bootloader": "0x010007793a328ef16cc7086708f7f3292ff9b5eed9e7e539c184228f461bf4ef",
33
"default_aa": "0x0100067d861e2f5717a12c3e869cfb657793b86bbb0caa05cc1421f16c5217bc",
34
"evm_emulator": null
35
},
36
"operatorAddress": "0xfeee860e7aae671124e9a4e61139f3a5085dfeee",
37
"protocolVersion": null
38
}
39
}
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": {
5
"number": 140599,
6
"l1BatchNumber": 1617,
7
"timestamp": 1679815038,
8
"l1TxCount": 0,
9
"l2TxCount": 20,
10
"rootHash": "0xf1adac176fc939313eea4b72055db0622a10bbd9b7a83097286e84e471d2e7df",
11
"status": "verified",
12
"commitTxHash": "0xd045e3698f018cb233c3817eb53a41a4c5b28784ffe659da246aa33bda34350c",
13
"committedAt": "2023-03-26T07:21:21.046817Z",
14
"commitTxFinality": "finalized",
15
"commitChainId": null,
16
"proveTxHash": "0x1591e9b16ff6eb029cc865614094b2e6dd872c8be40b15cc56164941ed723a1a",
17
"proveTxFinality": "finalized",
18
"provenAt": "2023-03-26T19:48:35.200565Z",
19
"proveChainId": null,
20
"executeTxHash": "0xbb66aa75f437bb4255cf751badfc6b142e8d4d3a4e531c7b2e737a22870ff19e",
21
"executeTxFinality": "finalized",
22
"executedAt": "2023-03-27T07:44:52.187764Z",
23
"executeChainId": null,
24
"precommitTxHash": null,
25
"precommitTxFinality": null,
26
"precommittedAt": null,
27
"precommitChainId": null,
28
"l1GasPrice": 20690385511,
29
"l2FairGasPrice": 250000000,
30
"fairPubdataPrice": null,
31
"baseSystemContractsHashes": {
32
"bootloader": "0x010007793a328ef16cc7086708f7f3292ff9b5eed9e7e539c184228f461bf4ef",
33
"default_aa": "0x0100067d861e2f5717a12c3e869cfb657793b86bbb0caa05cc1421f16c5217bc",
34
"evm_emulator": null
35
},
36
"operatorAddress": "0xfeee860e7aae671124e9a4e61139f3a5085dfeee",
37
"protocolVersion": null
38
}
39
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free