receipt
Fetch the public receipt of a paid request by task id (model, provider, tokens, price, settlement tx, request/response hashes, signatures) and its Merkle proof once the weekly epoch is closed.
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": {
"task_id": "<task_id>"
},
"name": "receipt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_id | Yes | task id from chat / embed (0x…) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| proof | No | ||
| receipt | Yes | ||
| epoch_state | Yes |