@armada/sdk / prover / ProveOptions
Interface: ProveOptions
Defined in: src/prover/index.ts:52
Properties
signal?
readonlyoptionalsignal?:AbortSignal
Defined in: src/prover/index.ts:53
onProgress?
readonlyoptionalonProgress?: (p) =>void
Defined in: src/prover/index.ts:54
Parameters
p
Returns
void
selfMetadata?
readonlyoptionalselfMetadata?: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?
readonlyoptionalexpiresAt?: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.