Skip to content

@armada/sdk / prover / ProveOptions

Interface: ProveOptions ​

Defined in: src/prover/index.ts:52

Properties ​

signal? ​

readonly optional signal?: AbortSignal

Defined in: src/prover/index.ts:53


onProgress? ​

readonly optional onProgress?: (p) => void

Defined in: src/prover/index.ts:54

Parameters ​

p ​

ProofProgress

Returns ​

void


selfMetadata? ​

readonly optional selfMetadata?: string

Defined in: src/prover/index.ts:62

Opaque metadata to persist on-chain in the spend's change-note memo (issue #88 lever 3). The change note is owned by the wallet, so a fresh chain scan recovers this blob on history() even after local storage is cleared — use it for details not otherwise recoverable (fee breakdown, submission mode). Ignored when the spend has no change note (changeValue === 0). Keep it compact: it costs calldata gas (~16 gas/byte) and a non-empty change memo is a faint metadata-presence signal to observers.


expiresAt? ​

readonly optional expiresAt?: number

Defined in: src/prover/index.ts:68

Policy TTL (epoch ms, local clock) stamped on the returned ProofHandles: past it, the handle refuses to encode calldata (ProofExpiredError). A proof never expires on-chain, so this is for the app — e.g. the deadline of the fee quote the plan binds, so a proof that outlived its quote isn't submitted.