verify_receipt
Verify Ed25519 signatures on stored receipts to detect tampering and validate authenticity. Audit receipts before using them as evidence or processing payments to ensure cryptographic integrity.
Instructions
Cryptographically verify an Ed25519 signature on a stored receipt to confirm it has not been tampered with since signing. Extracts the 12-field signable payload, canonicalizes it, and verifies against the stored public key. Returns verified: true if the signature is valid. Use to audit receipts before using them as evidence or before completing payments based on agent work.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| receipt_id | Yes | The receipt ID to verify — must exist in local storage |