{"uid":"cap_pS-stfvEQKKdVU0xvNI93","slug":"three-ws-permit2-eip-2612-gas-sponsored-usdc-payment-demo-72c9ded7","name":"three.ws Permit2 + EIP-2612 Gas-Sponsored USDC Payment Demo","description":"Permit2 + EIP-2612 Gas Sponsoring Demo — forces the gasless Permit2 path so a fresh wallet holding USDC but ZERO ETH can complete the flow. The CDP facilitator submits the EIP-2612 permit and the Permit2 transfer atomically in a single transaction via x402ExactPermit2Proxy.settleWithPermit. The response carries the on-chain tx hash + Basescan link so callers can confirm the permit + transfer landed together. Pay $0.001 USDC on Base mainnet.","url":"https://three.ws/api/x402/permit2-paid-demo","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"properties":{"type":"string"}}},"responseSchema":{"type":"json","example":{"ok":true,"demo":"permit2-eip2612-gas-sponsoring","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payer":"0x4022de2d36c334e73c7a108805cea11c0564f402","proxy":"0x402085c248EeA27D92E8b30b2C58ed07f9E20001","method":"permit2","network":"eip155:8453","explorer":"https://basescan.org/tx/0x9c0a7e5ad5c9c0bb6f04f6ad9c52f4f44bb6c5d9c0a7e5ad5c9c0bb6f04f6ad9","settledAt":"2026-05-21T18:30:00.000Z","transaction":"0x9c0a7e5ad5c9c0bb6f04f6ad9c52f4f44bb6c5d9c0a7e5ad5c9c0bb6f04f6ad9","amountAtomics":"1000","supportsEip2612":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_hpVrpi7ZFPtukUhOufQkj","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Demonstrates gasless USDC payment on Base mainnet using EIP-2612 permit and Permit2 transfer settled atomically in a single transaction by the x402ExactPermit2Proxy, returning the on-chain tx hash and Basescan link.","exampleAgentPrompt":"Run the gasless Permit2 + EIP-2612 demo on three.ws — I have a fresh wallet with USDC but no ETH, and I want to see the atomic permit2 settlement go through on Base mainnet with the tx hash and Basescan link.","exampleUseCases":null,"resultDescription":"Returns a JSON object with ok:true, demo identifier 'permit2-eip2612-gas-sponsoring', the settlement method ('permit2'), the payer address, network name, asset, amount in atomics, on-chain transaction hash, a Basescan explorer URL for the transaction, the settlement timestamp (ISO 8601), whether the asset supports EIP-2612, and the canonical x402ExactPermit2Proxy contract address that settled the combined permit + transfer atomically.","failureModes":["Insufficient USDC balance in payer wallet — payment cannot be settled","EIP-2612 permit signature invalid or expired — atomic settlement fails","Permit2 allowance not set or insufficient — transfer reverted","Base mainnet RPC unavailable — transaction cannot be submitted","x402ExactPermit2Proxy contract error — atomic settlement reverts on-chain","Rate limit or facilitator error — 402 or 429 response"],"whenToPreferThis":"Use this endpoint when you need to demonstrate or test a fully gasless USDC payment flow on Base mainnet where the wallet holds no ETH, relying on EIP-2612 permit + Permit2 for atomic gas-sponsored settlement via the x402 protocol. Prefer this over standard x402 payment demos when the zero-ETH wallet constraint is the specific scenario being validated.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-16T00:45:50.621Z","isFirstParty":false}