⚡ x402 v2 · EIP-3009 · Base Sepolia Testnet

Agent wallet. Agent pays.

A browser-embedded wallet discovers an x402-gated endpoint, signs an EIP-3009 authorization, and receives live forex data — all on testnet.

wallet → 402 discovery → EIP-3009 sign → PAYMENT-SIGNATURE → 200 OK
Agent Wallet
INITIALIZING
Address
Generating...
⎘ click to copy
USDC (Sepolia)
ETH (gas)
Chain
Base Sepolia
eip155:84532 EIP-3009 testnet localStorage
⚠ Fund this address to run live payments.
Get testnet ETH: Coinbase Faucet
Get testnet USDC: Circle Faucet
Select Base Sepolia on both.
x402 Endpoint
TESTNET
https://api-test.mid-air.ai/forex
scheme
exact
amount
1000 atomic = $0.001
asset
0x036C...CF7e (Sepolia USDC)
network
eip155:84532
facilitator
x402.org/facilitator
Payment Flow
IDLE
1
GET endpoint → expect 402
2
Parse 402 — extract payment terms
3
Check balance & sign EIP-3009
4
Send PAYMENT-SIGNATURE → facilitator settles
5
200 OK — forex data delivered
Result
AWAITING PAYMENT
Forex Data
— awaiting —
Receipt
— awaiting —
Protocol
x402 v2
Header
PAYMENT-SIGNATURE
Scheme
exact · EIP-3009
Network
Base Sepolia · eip155:84532
Asset
Testnet USDC
Price
$0.001 / request
Facilitator
x402.org