Skip to content

nooschain v0.1.0


nooschain / chain/state-root-sidecar-checkpoints / getLatestVerifiedStateRootSidecarCheckpoint

Function: getLatestVerifiedStateRootSidecarCheckpoint()

getLatestVerifiedStateRootSidecarCheckpoint(database, maxHeight?): Promise<VerifiedStateRootSidecarCheckpoint | null>

Defined in: chain/state-root-sidecar-checkpoints.ts:75

Loads the newest verified Nervos sidecar checkpoint at or before a height.

Parameters

database

StateRootSidecarCheckpointDatabase

maxHeight?

string | number | bigint

Returns

Promise<VerifiedStateRootSidecarCheckpoint | null>

Audience-first NOOSChain documentation.