verify_proof
Automates on-chain verification of ZK proofs. Accepts the full proof result object and returns { valid: true } if the proof is valid.
Instructions
Step 4 (optional): Verify a ZK proof on-chain against the deployed verifier contract. Pass the full generate_proof result object directly — verification info (verifierAddress, chainId, rpcUrl) is extracted automatically. Returns { valid: true } if the proof is valid.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | Full result object from generate_proof — pass it directly without extracting fields |