Skip to content

nooschain v0.1.0


nooschain / snapshots/snapshot-exporter / exportSnapshot

Function: exportSnapshot()

exportSnapshot(db, options?): Promise<SnapshotDocument>

Defined in: snapshots/snapshot-exporter.ts:174

Exports a snapshot document from the current latest finalized block.

consensus_state_only redacts local ciphertext. When outputPath is set, the document is also written to disk and snapshot metadata is recorded.

Parameters

db

Kysely<Database>

options?

SnapshotExportOptions = {}

Returns

Promise<SnapshotDocument>

Audience-first NOOSChain documentation.