Skip to content

nooschain v0.1.0


nooschain / snapshots/snapshot-types / SnapshotDocument

Interface: SnapshotDocument

Defined in: snapshots/snapshot-types.ts:19

Full JSON snapshot document.

Properties

blockHash

blockHash: string

Defined in: snapshots/snapshot-types.ts:27

Finalized block hash at height.


chainId

chainId: string

Defined in: snapshots/snapshot-types.ts:23

Chain id the snapshot belongs to.


exportedAt

exportedAt: string

Defined in: snapshots/snapshot-types.ts:35

ISO timestamp when the snapshot was exported.


exportMode

exportMode: SnapshotExportMode

Defined in: snapshots/snapshot-types.ts:37

Whether local encrypted payload bytes are included.


formatVersion

formatVersion: 1

Defined in: snapshots/snapshot-types.ts:21

Snapshot schema version.


height

height: string

Defined in: snapshots/snapshot-types.ts:25

Finalized block height represented by the snapshot.


metadata

metadata: Record<string, unknown>

Defined in: snapshots/snapshot-types.ts:48

Operator/export metadata not included in consensus state.


protocolVersion

protocolVersion: number

Defined in: snapshots/snapshot-types.ts:33

Protocol version used by the block at height.


smt

smt: object

Defined in: snapshots/snapshot-types.ts:41

Snapshot state tree metadata.

nodes?

optional nodes?: JsonValue[]

Reserved for future portable SMT node export.

rootHash

rootHash: string

Expected state root for the snapshot.


snapshotHash

snapshotHash: string

Defined in: snapshots/snapshot-types.ts:50

Canonical hash of the snapshot contents excluding exportedAt and itself.


stateRoot

stateRoot: string

Defined in: snapshots/snapshot-types.ts:29

State root at height.


stateRootEngineVersion

stateRootEngineVersion: "iden3-v1" | "nervos-smt-v2"

Defined in: snapshots/snapshot-types.ts:31

State-root engine identifier used to derive stateRoot.


tables

tables: EncodedSnapshotTables

Defined in: snapshots/snapshot-types.ts:39

Consensus and availability table rows in compact column-array format.

Audience-first NOOSChain documentation.