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.
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": {
"id": "<id>"
},
"name": "get_receipt"
}
}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 |