Verify a tide receipt
verify_receiptCheck a receipt's ed25519 signature against tide's published key (https://api.tide.ad/.well-known/tide-attest.json), that its id matches its content, and that its digest is the blake2b digest of the bytes inside it. Pass the receipt id or the receipt object with its signature. Example: { receipt: "8e56072be767fadb73a18169d8dcfc3c" }.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| receipt | Yes | Receipt id, or the receipt object (or the whole answer of receipt_for_transaction). | |
| signature | No | The signature object, when the receipt object is passed alone. | |
| public_key | No | Check against this ed25519 public key (base64) instead of tide's. |