Caveat
Pay-on-delivery for x402. An agent's USDG waits in a vault and reaches the seller only if the response passes its checks. If it fails, the agent gets it back, plus a cut of the seller's bond.
Paid after it works.
Every service publishes its promise on-chain: a status, a time limit, a format, and the JSON keys it will return. Caveat calls the seller, checks the answer against that promise, and posts the verdict to the vault with a hash of the response.
Plain x402.
Ask for a resource, get HTTP 402 with the price. Sign one USDG authorization. Ask again with it. Your wallet never pays gas, and the signature only works for that exact request.
The signature's nonce is the order id: a hash of the vault, you, the service, the amount, the deadline, the request and a salt. Replays fail on-chain.
| Order | Service | Amount | Verdict | When |
|---|---|---|---|---|
| Reading the vault… | ||||
A bond, not a promise.
Register your endpoint and its checks, post a USDG bond, and you're listed. Each open order holds a slice of the bond. Pass and you're paid minus a 1% fee. Fail and that slice goes to the buyer.
- Register the endpoint, price and checks on-chain.
- Bond at least 25 USDG. Withdrawals wait three days.
- Optional: only answer requests signed by a Caveat assessor (SDK has a one-line check).
1% of every release.
The fee on each released payment goes to the stake contract and is shared by $CAVEAT stakers in USDG. Sellers who stake pay up to half the fee.
Refunds pay no fee. Fees wait in the contract until the first staker arrives.
One cent. Watch it.
Pay a house service from your wallet and follow the order to the vault and back. The coin-flip seller fails half the time on purpose, so you can see a refund happen.