Skip to main content
Fastx402 is an x402 payment facilitator that enables AI agents and applications to pay for resources on Ethereum mainnet using USDC. It achieves sub-second settlement through FAST RPC preconfirmations, solving the slow finality problem that has left agents unable to access Ethereum’s stablecoin liquidity for real-time payments.

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 transferWithAuthorization so agents never submit transactions

How It Works

Fastx402 uses USDC’s native EIP-3009 transferWithAuthorization function for gasless, signature-based payments. The flow:
  1. An agent encounters a 402 Payment Required response from a resource server
  2. The agent signs an EIP-712 TransferWithAuthorization message authorizing a USDC transfer
  3. The resource server forwards the signed payment to Fastx402’s /settle endpoint
  4. Fastx402 verifies the signature, checks balances and nonces, then submits the transaction via FAST RPC
  5. FAST RPC preconfirms the transaction in ~100-200ms
  6. 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:
Response (success):
Response (failure):

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 a TransferWithAuthorization typed data message using USDC’s EIP-712 domain:
The relay wallet (0x488d87a9A88a6A878B3E7cf0bEece8984af9518D) submits the transferWithAuthorization call on-chain. The agent never needs ETH — only USDC.

Error Codes


ERC-8004 Agent Identity

Fastx402 is registered as an on-chain agent via ERC-8004: