Get signed receipt
get_receiptFetch a signed Tollbooth swap receipt by ID and verify its cryptographic signature to confirm authenticity.
Instructions
Fetch a signed Tollbooth receipt by id and verify its signature.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Receipt id returned by build_swap |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Receipt id | |
| error | No | Present when the receipt was not found | |
| valid | No | Whether the signature verified | |
| receipt | No | Receipt payload | |
| signature | No | Server signature over the receipt |