verify_proof
Verifies a ZK proof on-chain against the pinned verifier contract and issuer anchors, rejecting mismatched addresses and returning valid status or an error.
Instructions
Step 4 (optional): Verify a ZK proof on-chain against ZKProofport's own pinned verifier contract for the circuit and chain. Pass the full generate_proof result object directly. The result's verifierAddress is only compared with the pinned one: a different address is refused, never called. Issuer anchors are checked too (OIDC provider key against Google/Microsoft's published keys; Coinbase/GIWA signer-list root). Returns { valid: true } if the proof is valid, otherwise { valid: false, error }.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | Full result object from generate_proof — pass it directly without extracting fields | |
| min_score | No | human_passport: the threshold you asked for, in points. The proof's threshold must equal it; omit it and the threshold is not compared. |