Skip to content

@armada/sdk / index / prove

Function: prove()

prove(params, options?): Promise<ProofHandle>

Defined in: src/tx/prove.ts:79

Assemble the witness, resolve the shape's artifacts, generate the Groth16 proof off the caller's ProverAdapter, and serialize the transact() calldata — returned as an inspectable ProofHandle.

Parameters

params

ProveParams

options?

ProveOptions

Returns

Promise<ProofHandle>