{"uid":"cap_g9wRxfpcQHeh7dRybYm3b","slug":"quantaflow-x402-api-gateway-infura-optimism-mainnet-589d3afe","name":"QuantaFlow x402 API Gateway – Infura Optimism Mainnet","description":"Every request, a quantum of value. x402 protocol-based payment endpoint for web3/DeFi tools.","url":"https://quanta-roan.vercel.app/api/service/infura-optimism-mainnet?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"body":{"type":"string","description":"Optional JSON body forwarded to POST requests."},"path":{"type":"string","description":"Path below the selected upstream origin."},"query":{"type":"object"},"method":{"enum":["GET","POST"],"type":"string"}}},"responseSchema":{"description":"The upstream response body and content type are passed through after successful payment."},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_NfQp3DTzh1Upa8w5e3rMo","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Proxies requests to Infura's Optimism Mainnet JSON-RPC endpoint via the x402 micropayment protocol, charging $0.01 USDC per call.","exampleAgentPrompt":"Can you check the latest block number on Optimism Mainnet using the Infura RPC gateway — just forward an eth_blockNumber JSON-RPC call and tell me the result?","exampleUseCases":[{"title":"Check Optimism wallet balance","prompt":"What's the current ETH balance of address 0xAbC...123 on Optimism Mainnet? Use the Infura RPC gateway to run an eth_getBalance call for me."},{"title":"Fetch Optimism transaction receipt","prompt":"Can you pull the transaction receipt for tx hash 0xDef...456 on Optimism Mainnet via the Infura gateway and tell me if it succeeded?"},{"title":"Smart contract read on Optimism","prompt":"I need to call the balanceOf function on the USDC contract at 0x7F5c764...on Optimism Mainnet — can you send that eth_call through the Infura RPC endpoint and return the result?"}],"resultDescription":"The raw upstream Optimism Mainnet JSON-RPC response body (e.g. block data, transaction receipts, contract call results, account balances) is passed through directly after the x402 micropayment of $0.01 USDC is settled. The content type mirrors whatever Infura returns.","failureModes":["Insufficient USDC balance causes payment failure and request is rejected before forwarding","Invalid JSON-RPC method or malformed body results in upstream Infura error passed through","Wrong path causes routing failure or 404 from upstream","Optimism node downtime or Infura outage returns upstream error","Network latency or Vercel cold-start may add variable delay"],"whenToPreferThis":"Choose this endpoint when you need pay-per-use, keyless access to Optimism Mainnet JSON-RPC (Infura) without managing API subscriptions or rate-limit tiers. Ideal for AI agents that make infrequent or unpredictable Optimism RPC calls and want to settle costs automatically via x402 micropayments in USDC.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-24T18:52:44.845Z","isFirstParty":false,"canonicalSlug":"quantaflow-x402-api-gateway-infura-optimism-mainnet-589d3afe"}