SNP-09 · read the spec
Pay an API with work
A 402 round trip: price, mine, pay, get served, and replay to see 'spent'.
Service
- Origin
- https://api.example
- Price
- sha256d · 14z00
- Epoch
- 7
- Binding
- e91cdb47052c…00000007
No account, no API key. A note is spendable only at the origin and epoch it was mined for, and only once.
Press step 1 to make an unpaid call.
Service checks
| # | Check | Result |
|---|---|---|
| 1 | at most max notes · no hashing | — |
| 2 | record size · no hashing | — |
| 3 | SN4U checks 1–4 · no hashing | — |
| 4 | binding = SHA-256(origin) ‖ current or previous epoch · no hashing | — |
| 5 | one priced algorithm · no hashing | — |
| 6 | no record twice · no hashing | — |
| 7 | not in the spent-set · no hashing | — |
| 8 | total weight ≥ w(14z00) · no hashing | — |
| 9 | caller proof (keyed only) · no hashing | — |
| 10 | work hash, heaviest first | — |
