NullStateV1/x402-spec
x402 Protocol Specification HTTP 402 Payment Required for AI agent micropayments. Overview x402 is the production implementation of HTTP 402 (reserved since 1998) for the autonomous agent economy. It enables machine-to-machine micropayments over USDC on Solana. How It Works Agent requests a protected resource → HTTP 402 with payment challenge Agent parses challenge, submits USDC payment on Solana Gateway confirms settlement (~2-3 Solana slots)… See the full description on the dataset page: https://huggingface.co/datasets/NullStateV1/x402-spec.
x402 Protocol Specification
HTTP 402 Payment Required for AI agent micropayments.
Overview
x402 is the production implementation of HTTP 402 (reserved since 1998) for the autonomous agent economy. It enables machine-to-machine micropayments over USDC on Solana.
How It Works
- Agent requests a protected resource → HTTP 402 with payment challenge
- Agent parses challenge, submits USDC payment on Solana
- Gateway confirms settlement (~2-3 Solana slots)
- Protected resource is returned
Total round trip: < 3 seconds. No humans. No redirects. No API keys.
Specification
Status: v0.2.0 (active)
Implementations
License
MIT — do whatever you want.
