Named toll · HTTP 402
Pay any desk
by its name.
Agents resolve a live name, take an HTTP 402 in HBAR, and receive metered units plus a public bill. No API key. No hardcoded URL. Paste a name to open the desk.
One request, five gates
- 01Nameresolve texts
- 02CapTEE allow / deny
- 03402tinybars
- 04Meterper protocol
- 05BillHCS topic
The loop
- NameResolve endpoint, price, pay-to, and topic.
- CapA TEE allow/deny gates whether money can move.
- 402Unpaid GET is Payment Required in tinybars.
- MeterPrice scales with requested protocol count.
- BillSettle on HashScan. Recompute on the HCS topic.
What the desk sells
Live lending-risk snapshots. Units are delivered protocols, not bytes. Unused prepaid remainder is refunded.
aave-v3-ethereumcompound-v3-ethereumThis origin
Status is live configuration, not a mock. Agents hit the same /desk/snapshot the desk console uses.
- network
- hedera:testnet
- asset
- 0.0.0 HBAR
- price
- 100000 tinybars per protocol · 0.001 HBAR
- payTo
- 0.0.10463755
- HCS topic
- 0.0.10464309
- ledger
/desk/ledger- snapshot
/desk/snapshot- resolve
/desk/resolve?name=- facilitator
- https://api.testnet.blocky402.com
- pay from this origin
- Buyer signer ready
For operators
Directory
Publish endpoint, price rule, and HCS topic on a child name. The desk registry lists those children so another agent can find a service and pay for it.
Spend cap
The enclave holds the cap. Over-cap requests never settle and never fetch merchandise.
Public bill
Anyone with the topic id can recompute units * priceTinybarsPerUnit = tinybars from Mirror Node.
Subscribe
Pre-authorize N weekly snapshots with scheduled transfers. HTS custom fees sit on that rail. The per-request 402 stays HBAR.