Verify a receipt offline
verify_receiptValidate signed receipts offline: check JSON schema, key validity, Ed25519 signature, claim digest, and Merkle inclusion proof. Provide receipt_json or receipt_id. Blockchain anchor is not checked, capping trust at level 1.
Instructions
Checks a receipt independently of QED Proof's servers, as the reference checker in the QED Proof spec does: the JSON Schema, integer-only encoding, the signing key's validity window, the Ed25519 signature, the claim digest and the Merkle log inclusion proof. It does not read the blockchain, so the on-chain anchor is reported as not checked and the achieved trust level is at most 1. Pass receipt_json for a fully offline check, or receipt_id to fetch the receipt first. The public keys come from keys_json or, when omitted, from the issuer's published poaw-keys.json.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keys_json | No | The issuer's poaw-keys.json as raw JSON text. | |
| receipt_id | No | A receipt_id to fetch, when receipt_json isn't given. | |
| receipt_json | No | The receipt as raw JSON text. |