prove method
BuSaplingProof
prove({})
override
Proves kind circuit from witness under handle; returns proof and public inputs; throws CryptoException on native failure.
Implementation
@override
BuSaplingProof prove({
required Object handle,
required int kind,
required List<int> witness,
}) {
return api
.prove(handle: handle, kind: kind, witness: witness)
.unwrapOrThrowCryptoError();
}