• Verifies if a Groth16 proof is valid or not.

    Parameters

    • verificationKey: any

      The verification key used to verify the proof.

    • proof: {
          proof: Groth16Proof;
          publicSignals: PublicSignals;
      }

      The proof containing public signals and zero-knowledge parameters.

    Returns Promise<boolean>

    True if the proof is valid, and false otherwise.