Why Fastx402
Traditional Ethereum payments require 12+ seconds for finality, making them unsuitable for real-time API access. Existing x402 facilitators only work on Base and Solana. Fastx402 changes this:- Sub-second settlement — ~1.2s end-to-end via FAST RPC preconfirmations (vs 12+ seconds)
- Zero gas for agents — Agents only need USDC, no ETH required. Gas is fully sponsored via the relay wallet
- Mainnet liquidity — Access Ethereum’s largest stablecoin issuance and DeFi ecosystem
- x402 compatible — Drop-in replacement for any x402 facilitator
- Gasless signatures — Uses EIP-3009
transferWithAuthorizationso agents never submit transactions
How It Works
Fastx402 uses USDC’s native EIP-3009transferWithAuthorization function for gasless, signature-based payments. The flow:
- An agent encounters a
402 Payment Requiredresponse from a resource server - The agent signs an EIP-712
TransferWithAuthorizationmessage authorizing a USDC transfer - The resource server forwards the signed payment to Fastx402’s
/settleendpoint - Fastx402 verifies the signature, checks balances and nonces, then submits the transaction via FAST RPC
- FAST RPC preconfirms the transaction in ~100-200ms
- The resource server receives confirmation and grants access
API Reference
POST /settle
Verify a payment signature and settle it on-chain via FAST RPC. Request body:POST /verify
Validate a payment signature without settling (dry run). Same request body as/settle.
GET /supported
Discover facilitator capabilities.GET /health
Health check endpoint.EIP-3009 Signing
Agents sign aTransferWithAuthorization typed data message using USDC’s EIP-712 domain:
0x488d87a9A88a6A878B3E7cf0bEece8984af9518D) submits the transferWithAuthorization call on-chain. The agent never needs ETH — only USDC.