ledger_getSequencerCommitmentByIndex

Returns a sequencer commitment by its global index.

Path Parameters

apiKeystringRequiredDefaults to docs-demo

Request

This endpoint expects an object.
indexstringRequiredformat: "^0x([1-9a-f]+[0-9a-f]*|0)$"

Commitment index (hex quantity).

Response

Commitment identified by the supplied index.
merkleRootstringformat: "^0x[0-9a-f]{64}$"
Merkle root of sequencer commitment.
indexstringformat: "^0x([1-9a-f]+[0-9a-f]*|0)$"

Global commitment index (hex quantity).

l2EndBlockNumberstringformat: "^0x([1-9a-f]+[0-9a-f]*|0)$"

Last L2 block included in this commitment (hex quantity).