Skip to main content

morph_getRollupBatchByIndex RPC Method

Get the batches by index.

Updated on
May 06, 2024

morph_getRollupBatchByIndex RPC Method

Parameters

index
REQUIRED
The index of batch

Returns

version
The version of the batch
hash
The hash of the batch
parentBatchHeader
The header of the parent batch
chunks
An array of data chunks
skippedL1MessageBitmap
The bitmap of the skipped L1Message
prevStateRoot
The state root at the beginning of this batch
postStateRoot
The state root at the end of this batch
withdrawRoot
The withdraw root at the end of this batch
sidecar
object
The sidecar object which contains the following fields:
Blobs
An array of blobs
Commitments
An array of commitments
Proofs
An array of proofs
signatures
array
An array of signatures
version
The version of sequencers
signer
The index of the registered sequencer on L1Sequencer
signerPubKey
The bls public key
signature
The bls signature of the batch signed by this signer
Request
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free