citrea_getLastProvenL2Height

Returns the latest L2 block height that has been proven on Bitcoin with a validity proof.

Path parameters

apiKeystringRequiredDefaults to docs-demo

Response

Latest proven L2 height and its sequencer commitment index.
heightinteger

Latest proven L2 block height (decimal).

commitment_indexinteger

Sequencer commitment index (decimal).