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
Parameter | Type | Description |
---|---|---|
zkp | ZKProof | proof to verify |
circuitId | CircuitId | circuit id |
Returns:
Promise<boolean>
{Promise<boolean>}