BarretenbergVerifier
Constructors
new BarretenbergVerifier(options)
new BarretenbergVerifier(options): BarretenbergVerifier
Parameters
Parameter | Type |
---|---|
options | BackendOptions |
Returns
Methods
destroy()
destroy(): Promise<void>
Returns
Promise
<void
>
verifyProof()
verifyProof(proofData, verificationKey): Promise<boolean>
Parameters
Parameter | Type |
---|---|
proofData | ProofData |
verificationKey | Uint8Array |
Returns
Promise
<boolean
>
Description
Verifies a proof
Generated using typedoc-plugin-markdown and TypeDoc