Parameters
- batchintegerREQUIRED
The layer 1 batch number
Returns
- baseSystemContractsHashesobject
An object containing hashes of the base system contracts used in the transaction
- bootloaderstring
The hash of the bootloader contract
- default_aastring
The hash of the default account contract
- evm_emulatorstring | null
(Optional) A module for emulating EVM behavior to ensure compatibility with EVM-based smart contracts, or null when not applicable
- commitTxHashstring
The hash of the transaction committed to the network
- committedAtstring
The timestamp when the transaction was committed to the network
- executeTxHashstring
The hash of the transaction executed on the network
- executedAtstring
The timestamp when the transaction was executed on the network
- l1BatchNumberinteger
(Optional) The batch number of the transaction on the L1 (Ethereum) network
- l1GasPriceinteger
The gas price used for the transaction on the L1 network
- l1TxCountinteger
The number of transactions related to this batch on the L1 network
- l2FairGasPriceinteger
The fair gas price used for the transaction on the L2 (zkSync) network
- l2TxCountinteger
The total number of transactions on the L2 network
- numberinteger
The transaction number
- operatorAddressstring
(Optional) The address of the operator who executed the transaction
- proveTxHashstring
The hash of the proof transaction on the L1 network
- provenAtstring
The timestamp when the proof transaction was done on the L1 network
- rootHashstring
The root hash representing the state of the network after the transaction
- statusstring
The status of the transaction
- timestampinteger
The timestamp of the transaction
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": null34}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": null34}35}36}