Skip to main content

zks_getL1BatchDetails RPC Method

Loading...

Updated on
Apr 03, 2026

zks_getL1BatchDetails RPC Method

Parameters

batch
integer
REQUIRED
Loading...

Returns

baseSystemContractsHashes
object
Loading...
bootloader
string
Loading...
default_aa
string
Loading...
evm_emulator
string
Loading...
commitTxHash
string
Loading...
committedAt
string
Loading...
executeTxHash
string
Loading...
executedAt
string
Loading...
l1BatchNumber
integer
Loading...
l1GasPrice
integer
Loading...
l1TxCount
integer
Loading...
l2FairGasPrice
integer
Loading...
l2TxCount
integer
Loading...
number
integer
Loading...
operatorAddress
string
Loading...
proveTxHash
string
Loading...
provenAt
string
Loading...
rootHash
string
Loading...
status
string
Loading...
timestamp
integer
Loading...
Request
1
curl -X POST "https://docs-demo.abstract-mainnet.quiknode.pro/" \
2
-H "Content-Type: application/json" \
3
-d '{
4
"jsonrpc": "2.0",
5
"method": "zks_getL1BatchDetails",
6
"params": [
7
673
8
],
9
"id": 1
10
}'
1
curl -X POST "https://docs-demo.abstract-mainnet.quiknode.pro/" \
2
-H "Content-Type: application/json" \
3
-d '{
4
"jsonrpc": "2.0",
5
"method": "zks_getL1BatchDetails",
6
"params": [
7
673
8
],
9
"id": 1
10
}'
Response
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": {
5
"number": 12345,
6
"timestamp": 1681063384,
7
"l1TxCount": 9,
8
"l2TxCount": 294,
9
"rootHash": "0x994d2738f7ac89b45c8381a7816307b501c00b3127afc79e440dbf1b3e3b5a8c",
10
"status": "verified",
11
"commitTxHash": "0xe5e76d1e17cff2b7232d40ddf43c245e29c76e5354571aa8083d73e793efb64a",
12
"committedAt": "2023-04-09T18:05:40.548203Z",
13
"commitTxFinality": "finalized",
14
"commitChainId": null,
15
"proveTxHash": "0xe980f58feed22a4dbc46fe0339bfcbc09f51c99b2f3bc4f9f60e710ea5f0a2da",
16
"proveTxFinality": "finalized",
17
"provenAt": "2023-04-09T22:51:16.200810Z",
18
"proveChainId": null,
19
"executeTxHash": "0x19c125a6104f731bcc1ce378f090c808e97c6d634fc32cb786694a94fc8219a1",
20
"executeTxFinality": "finalized",
21
"executedAt": "2023-04-10T18:48:25.009708Z",
22
"executeChainId": null,
23
"precommitTxHash": null,
24
"precommitTxFinality": null,
25
"precommittedAt": null,
26
"precommitChainId": null,
27
"l1GasPrice": 29424338466,
28
"l2FairGasPrice": 250000000,
29
"fairPubdataPrice": null,
30
"baseSystemContractsHashes": {
31
"bootloader": "0x010007793a328ef16cc7086708f7f3292ff9b5eed9e7e539c184228f461bf4ef",
32
"default_aa": "0x0100067d861e2f5717a12c3e869cfb657793b86bbb0caa05cc1421f16c5217bc",
33
"evm_emulator": null
34
}
35
}
36
}
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": {
5
"number": 12345,
6
"timestamp": 1681063384,
7
"l1TxCount": 9,
8
"l2TxCount": 294,
9
"rootHash": "0x994d2738f7ac89b45c8381a7816307b501c00b3127afc79e440dbf1b3e3b5a8c",
10
"status": "verified",
11
"commitTxHash": "0xe5e76d1e17cff2b7232d40ddf43c245e29c76e5354571aa8083d73e793efb64a",
12
"committedAt": "2023-04-09T18:05:40.548203Z",
13
"commitTxFinality": "finalized",
14
"commitChainId": null,
15
"proveTxHash": "0xe980f58feed22a4dbc46fe0339bfcbc09f51c99b2f3bc4f9f60e710ea5f0a2da",
16
"proveTxFinality": "finalized",
17
"provenAt": "2023-04-09T22:51:16.200810Z",
18
"proveChainId": null,
19
"executeTxHash": "0x19c125a6104f731bcc1ce378f090c808e97c6d634fc32cb786694a94fc8219a1",
20
"executeTxFinality": "finalized",
21
"executedAt": "2023-04-10T18:48:25.009708Z",
22
"executeChainId": null,
23
"precommitTxHash": null,
24
"precommitTxFinality": null,
25
"precommittedAt": null,
26
"precommitChainId": null,
27
"l1GasPrice": 29424338466,
28
"l2FairGasPrice": 250000000,
29
"fairPubdataPrice": null,
30
"baseSystemContractsHashes": {
31
"bootloader": "0x010007793a328ef16cc7086708f7f3292ff9b5eed9e7e539c184228f461bf4ef",
32
"default_aa": "0x0100067d861e2f5717a12c3e869cfb657793b86bbb0caa05cc1421f16c5217bc",
33
"evm_emulator": null
34
}
35
}
36
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free