citrea_getLastCommittedL2Height

Returns the latest L2 block height that has been committed to Bitcoin via sequencer commitment.

Path parameters

apiKeystringRequiredDefaults to docs-demo

Response

Latest committed L2 height and its sequencer commitment index.
heightinteger

Latest committed L2 block height (decimal).

commitment_indexinteger

Sequencer commitment index (decimal).