CoolFace
Datasetpublic

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.

sourceHugging Facemitupdated 4mo agoView on Hugging Face
0likes3downloads
Dataset Card

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

  1. 1.Agent requests a protected resource → HTTP 402 with payment challenge
  2. 2.Agent parses challenge, submits USDC payment on Solana
  3. 3.Gateway confirms settlement (~2-3 Solana slots)
  4. 4.Protected resource is returned

Total round trip: < 3 seconds. No humans. No redirects. No API keys.

Specification

Status: v0.2.0 (active)

Implementations

ImplementationLanguageStatus
NullState GatewayPythonProduction
Coinbase AgentKitTypeScriptBeta
AEON ProtocolRustBeta

License

MIT — do whatever you want.