Verify Trust Receipt Signature
oracle.verify_trust_receipt_signatureRead-only service-side validation of a trust receipt that already exists. Supply signature plus either receipt_id for the canonical server-stored receipt or a caller-supplied receipt object. Returns valid true or false when signing is enabled. Current signatures use HMAC-SHA256 and are service-verifiable by InterAI, not independent offline public-key proofs. It does not evaluate risk or create a receipt; use oracle.get_trust_receipt to retrieve receipt metadata.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| receipt | No | Optional caller-supplied receipt object, typically evidence received from another agent or system. Either receipt or receipt_id is required. | |
| signature | Yes | HMAC-SHA256 signature to validate against the referenced InterAI receipt. Required. | |
| receipt_id | No | Optional ID of an existing InterAI trust receipt. InterAI resolves the canonical server-stored record before validating the supplied signature. Either receipt_id or receipt is required. | |
| signature_alg | No | Optional signature algorithm declaration. The current supported value is hmac-sha256. | |
| signed_payload | No | Optional exact serialized payload that was signed. Supply it when validating externally transported receipt evidence that includes the original signed payload. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| valid | Yes | Whether the supplied signature matches the referenced stored receipt. | |
| signature_alg | Yes | Signature algorithm used by the current InterAI receipt verifier. |