| Property | Value |
|---|---|
| Endpoint | https://facilitator.primev.xyz |
| Network | Ethereum Mainnet (Chain ID: 1) |
| Asset | USDC (0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48) |
| Settlement | FAST RPC (~100-200ms preconfirmation) |
| Fees | 0% |
| Source | GitHub |
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.
Error Codes
| Code | Description |
|---|---|
unsupported_scheme | Scheme is not “exact” |
unsupported_network | Network is not “eip155:1” |
unsupported_asset | Asset is not USDC |
invalid_from_address | Invalid sender address |
recipient_mismatch | authorization.to does not match paymentRequirements.payTo |
insufficient_payment | Authorization value < required amount |
authorization_expired | Current time + 60s >= validBefore |
authorization_not_yet_valid | Current time < validAfter |
invalid_signature | EIP-712 signature verification failed |
insufficient_funds | Payer USDC balance < authorization value |
nonce_already_used | Nonce already consumed (replay protection) |
ERC-8004 Agent Identity
Fastx402 is registered as an on-chain agent via ERC-8004:| Property | Value |
|---|---|
| Agent ID | 23175 |
| Identity Registry | 0x8004A169FB4a3325136EB29fA0ceB6D2e539a432 |
| Reputation Registry | 0x8004BAa17C55a88189AE136b182e5fdA19dE9b63 |
| Metadata URI | /agent.json |