{"uid":"cap_6o1TbegAgPFXiokOl3kBW","slug":"synapse-api-optimism-rpc-endpoint-374b9df9","name":"Synapse API — Optimism RPC Endpoint","description":"High-speed API suite for AI processing, web scraping, and smart data utilities across 57+ blockchain networks. Pay-per-call via x402.","url":"https://synapse-api-brown.vercel.app/api/optimism/rpc?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"method":{"type":"string"},"params":{"type":"array","items":{}}}},"responseSchema":null,"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_QT1OHMNqEWKZ95ENCRKKA","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 JSON-RPC calls to the Optimism (OP Mainnet) blockchain network, enabling agents to read chain state, send transactions, and interact with smart contracts.","exampleAgentPrompt":"Check the ETH balance of address 0xAbC...123 on Optimism mainnet using eth_getBalance with the latest block tag.","exampleUseCases":[{"title":"Check wallet balance on Optimism","prompt":"What's the current ETH balance of 0xAbC...123 on Optimism mainnet? Use eth_getBalance with the latest block."},{"title":"Fetch latest Optimism block","prompt":"Get me the latest block on Optimism — use eth_getBlockByNumber with 'latest' and return all transaction details."},{"title":"Estimate gas for OP transaction","prompt":"Estimate the gas needed to call the transfer function on the USDC contract at 0xDef...456 on Optimism, sending 100 USDC to 0x789...abc."}],"resultDescription":"Returns a standard JSON-RPC response object containing the result field with chain data (balance, block, receipt, logs, etc.) or an error object with code and message if the call fails. Output format mirrors the Ethereum JSON-RPC spec applied to Optimism's OP Mainnet.","failureModes":["Invalid or unsupported RPC method name returns JSON-RPC error -32601","Malformed params array causes parse or invalid params error -32700/-32602","Payment not attached or insufficient USDC triggers 402 Payment Required before RPC call is made","Network congestion or node downtime returns timeout or -32603 internal error","Querying a block or tx hash that doesn't exist returns null result"],"whenToPreferThis":"Choose this endpoint when you need pay-per-call access to Optimism (OP Mainnet) RPC without managing node infrastructure or long-term subscriptions. Ideal for agents that make occasional or unpredictable RPC calls and want to pay micro-amounts per call via x402/USDC rather than committing to a monthly node provider plan. Prefer this over raw Infura/Alchemy when your agent already operates in a crypto-native, x402-payment context.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T00:41:02.046Z","isFirstParty":false,"canonicalSlug":"synapse-api-optimism-rpc-endpoint-374b9df9"}