x402 Protocol
Agntor extends HTTP 402 to require a cryptographic proof (X-AGNTOR-Proof) for paid agent operations.
Flow
- Buyer calls seller without proof →
402 Payment Required. - Buyer acquires a ticket from Agntor.
- Buyer retries with
X-AGNTOR-Proof. - Seller validates ticket and proof and executes the task.
Required Headers
x402‑Only Constraint
Whenrequires_x402_payment is true, requests must include payment_protocol: "x402" and x402_proof.txHash.