Skip to main content
Version: v0.36.0

BarretenbergVerifier

Constructors

new BarretenbergVerifier(options)

new BarretenbergVerifier(options): BarretenbergVerifier

Parameters

ParameterType
optionsBackendOptions

Returns

BarretenbergVerifier

Methods

destroy()

destroy(): Promise<void>

Returns

Promise<void>


verifyProof()

verifyProof(proofData, verificationKey): Promise<boolean>

Parameters

ParameterType
proofDataProofData
verificationKeyUint8Array

Returns

Promise<boolean>

Description

Verifies a proof


Generated using typedoc-plugin-markdown and TypeDoc