Verify a receipt
verify_receiptVerify an ActionProof receipt offline to confirm its signature and identify the signing agent. Optionally validate that supplied parameters or results match the receipt's hashes.
Instructions
Verify a signed ActionProof receipt offline. Returns whether the signature is valid and which agent did:key signed it. Optionally re-check that supplied params/result match the hashes in the receipt.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| expect_params | No | If provided, verify these params match the receipt's params_hash. | |
| expect_result | No | If provided, verify this result matches the receipt's result_hash. | |
| signed_receipt | Yes | The SignedReceipt JSON (as produced by attest_action). |