verify_proof
Verifies a ZK proof on-chain against ZKProofport's pinned verifier for its circuit and chain, returning valid:true or an error and refusing mismatched verifier addresses or issuer anchors.
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 }.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"result": "<result>"
},
"name": "verify_proof"
}
}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. |