Read a receipt
Every field of a receipt and what it proves.
Fields
- ScreenReceipt
- ActionEvery line
- ResultIntegers in micro-USD
Open the receiptMoney and tokens, never content
Example dataMoney is integer micro-USD ($1 = 1,000,000).
| Field | Type | Notes |
|---|---|---|
id | string | r_ + 26-character ULID |
hour | ISO time | Settlement hour |
endpoint | ticker or null | null for raw model calls |
version | number or null | Endpoint version that answered |
configSha256 | hex or null | Hash of that version config |
caller | string | Public caller label |
funding | allowance | balance | test | What paid |
model | string | Model that answered |
route | string | cheapest provider, fallback 1 or fallback 2 |
tokens | { in, out, cacheRead, cacheWrite } | Metered tokens |
costMicro, feeMicro, markupMicro | integers | Charge parts |
royaltyMicro, burnMicro | integers | Markup split |
leaf | hex | sha256 of leafFields |
leafFields | object | Exact hashed fields; caller is an HMAC |
root, proof, memoTx | null until posted | Hourly Merkle root, sibling path, memo tx |