Receipts
Understanding Receipts
Consensus vs. Receipts
What's in a Receipt
{
"steps": [
{
"name": "request_received",
"timestamp": "2024-01-15T10:30:00.000Z",
"function": "fetchUint",
"args": ["https://api.example.com/price", "data.price", 8]
},
{
"name": "http_request",
"url": "https://api.example.com/price",
"method": "GET",
"duration_ms": 245
},
{
"name": "http_response",
"status": 200,
"body_preview": "{\"data\":{\"price\":42000.50}}"
},
{
"name": "value_extracted",
"selector": "data.price",
"raw_value": 42000.50,
"scaled_value": "4200050000000"
},
{
"name": "response_encoded",
"timestamp": "2024-01-15T10:30:00.250Z"
}
],
"result": "0x000000000000000000000000000000000000000000000000000003d2a0b76c00"
}Common Step Types
Step Name
Description
Viewing Receipts in the UI
From the Web App
From Receipt URL
Fetching Receipts Programmatically
From Receipt Service
Network
Receipts service base URL
Using Receipts for Debugging
Tracing Errors
Checking LLM Reasoning
Verifying External Data
Next Steps
Last updated