Skip to main content

ProofService.verifyProof() method

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Verification of zkp proof for given circuit id

Signature:

verifyProof(zkp: ZKProof, circuitId: CircuitId): Promise<boolean>;

Parameters

ParameterTypeDescription
zkpZKProofproof to verify
circuitIdCircuitIdcircuit id

Returns:

Promise<boolean>

{Promise<boolean>}