zkevm_getBatchByNumber RPC Method
Parameters
batchNumber/Tag
string
REQUIRED
The batch number or tag for which the information is to be retrieved
Returns
result
object
The result object which contains the following fields:
accInputHash
string
The accumulated input hash of the batch.
batchL2Data
string
The data associated with the Layer 2 batch.
blocks
string
A list of string values representing blocks.
closed
boolean
Indicates whether the batch is closed.
coinbase
string
The address of the entity receiving block rewards.
globalExitRoot
string
The root hash of the global exit tree.
localExitRoot
string
The root hash of the local exit tree.
mainnetExitRoot
string
The root hash of the mainnet exit tree.
number
string
The batch number in the rollup sequence.
rollupExitRoot
string
The root hash of the rollup exit tree.
sendSequencesTxHash
string
The transaction hash for sending sequence data.
stateRoot
string
The root hash of the state after processing this batch.
timestamp
string
The Unix timestamp when the batch was created.
transactions
string
The list of transactions included in the batch.
verifyBatchTxHash
string
The transaction hash for verifying the batch.
Request
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free