Skip to main content

zks_getBlockDetails RPC Method

Returns additional zkSync-specific information about the L2 block.

Updated on
Feb 17, 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

The hash of the bootloader contract

default_aa

The hash of the default account contract

commitTxHash

The hash of the transaction committed to the network

committedAt

The timestamp when the transaction was committed to the network

executeTxHash

The hash of the transaction executed on the network

executedAt

The timestamp when the transaction was executed on the network

l1BatchNumber

The batch number of the transaction on the L1 (Ethereum) network

l1GasPrice

The gas price used for the transaction on the L1 network

l1TxCount

The number of transactions related to this batch on the L1 network

l2FairGasPrice

The fair gas price used for the transaction on the L2 (zkSync) network

l2TxCount

The total number of transactions on the L2 network

number

The transaction number

operatorAddress

The address of the operator who executed the transaction

proveTxHash

The hash of the proof transaction on the L1 network

provenAt

The timestamp when the proof transaction was done on the L1 network

rootHash

The root hash representing the state of the network after the transaction

status

The status of the transaction

timestamp

The timestamp of the transaction

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