verify_policy_receipt
Verify a signed SlipSentry verdict receipt by checking its HMAC-SHA256 signature, 5-minute expiry, and that it authorizes signing before you proceed with a trade.
Instructions
Verify the HMAC-SHA256 signature and 5-minute TTL of a SlipSentry verdict receipt and check whether authorizedToSign is true (verdict === ALLOW plus optional policyHash and trade-intent bindings).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"receipt": "<receipt>"
},
"name": "verify_policy_receipt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| receipt | Yes | Signed receipt object returned by audit_solana_trade. | |
| expected | No | Optional signer-side expected policyHash, outputMint, inputMint, or amountUsd bindings. |