q402_receipt
Look up a Q402 Trust Receipt by its receipt ID to retrieve the settlement record and a locally-verified ECDSA boolean, enabling independent confirmation of a payment.
Instructions
Look up a Q402 Trust Receipt by its rct_… receiptId and return the settlement record + a locally-verified ECDSA boolean (the tool re-runs the same canonical-JSON + EIP-191 recovery the receipt page does in the browser). Read-only; no API key required. Use after q402_pay to give the user a shareable verified-by-Q402 URL, or to independently verify a receipt id someone shared with you. receiptId is required; passing only txHash returns notFound (tx → receiptId lookup is reserved for a future release).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| txHash | No | Reserved for a future tx → receipt index. Today this is unimplemented and the tool returns notFound when only txHash is provided. Pass receiptId instead. | |
| receiptId | No | Receipt id (rct_ + 24 hex chars). Returned by q402_pay; also visible at the end of any /receipt/ URL. This is the only path that resolves today. |