yax_verify_receipt
Verify if a receipt's cryptographic signature is valid and its Filecoin anchor exists. Returns confirmation of verification status, signature validity, and anchor CIDs.
Instructions
Confirms a receipt's cryptographic signature is valid and its Filecoin anchor exists. Returns verified: true/false, signature status, and anchor CIDs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run_id | Yes | Run ID of the receipt to verify. | |
| filecoin_cid | No | Optional Filecoin CID to verify directly, instead of looking it up by run ID. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| verified | No | True if the signature is valid and the Filecoin anchor matches. | |
| signature_ok | No | Whether the cryptographic signature over the receipt is valid. | |
| anchor_exists | No | Whether the Filecoin anchor CID resolves and matches the receipt content. | |
| filecoin_cid | No | The Filecoin CID that was verified. | |
| verified_at | No | ISO 8601 timestamp of when verification was performed. |