{"uid":"cap_1__fS6lCKBmXj5toMZz0l","slug":"pocket-network-op-mainnet-json-rpc-0e2573ed","name":"Pocket Network OP Mainnet JSON-RPC","description":"Pay-per-call access to Pocket Network services. No account, no API key.","url":"https://agent.pocket.network/v1/op?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"method":{"type":"string","examples":["eth_accounts","eth_blobBaseFee","eth_blockNumber","eth_call","eth_capabilities","eth_chainId","eth_coinbase","eth_config","eth_createAccessList","eth_estimateGas","eth_feeHistory","eth_gasPrice","eth_getBalance","eth_getBlockAccessList","eth_getBlockByHash","eth_getBlockByNumber","eth_getBlockReceipts","eth_getBlockTransactionCountByHash","eth_getBlockTransactionCountByNumber","eth_getCode","eth_getFilterChanges","eth_getFilterLogs","eth_getLogs","eth_getProof","eth_getStorageAt","eth_getStorageValues","eth_getTransactionByBlockHashAndIndex","eth_getTransactionByBlockNumberAndIndex","eth_getTransactionByHash","eth_getTransactionCount","eth_getTransactionReceipt","eth_getUncleByBlockHashAndIndex","eth_getUncleByBlockNumberAndIndex","eth_getUncleCountByBlockHash","eth_getUncleCountByBlockNumber","eth_maxPriorityFeePerGas","eth_newBlockFilter","eth_newFilter","eth_newPendingTransactionFilter","eth_simulateV1","eth_syncing","eth_uninstallFilter","net_listening","net_peerCount","net_version","web3_clientVersion","web3_sha3"],"description":"JSON-RPC read method, e.g. eth_getBalance"},"params":{"description":"Parameters per the Ethereum JSON-RPC spec"}}},"responseSchema":{"type":"json","example":{"data":{"id":1,"result":false,"jsonrpc":"2.0"},"portal":{"serviceId":"op","provenance":"third-party-supplier","schemaCheck":"passed"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_W39qZVzNcEdHG671lncua","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Provides read-only Ethereum JSON-RPC access to OP Mainnet (Optimism L2) via the Pocket Network decentralised relay, paid per-request in USDC with no API key required.","exampleAgentPrompt":"What's the current ETH balance of 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 on OP Mainnet? Use eth_getBalance and return the result in wei.","exampleUseCases":[{"title":"DeFi portfolio balance check","prompt":"Can you fetch the ETH balance for wallet 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 on OP Mainnet right now using eth_getBalance?"},{"title":"Smart contract log monitoring","prompt":"Pull the last 500 event logs for contract 0x4200000000000000000000000000000000000042 on OP Mainnet — use eth_getLogs with the latest block range."},{"title":"Gas estimation for Optimism transaction","prompt":"Estimate the gas needed to call the transfer function on ERC-20 contract 0x4200000000000000000000000000000000000042 on OP Mainnet with eth_estimateGas."}],"resultDescription":"Returns a standard Ethereum JSON-RPC response object containing the requested data — such as a balance in wei, block object, transaction receipt, log array, gas estimate, or other chain state — keyed by the JSON-RPC result field. Errors are returned as standard JSON-RPC error objects with code and message.","failureModes":["Invalid JSON-RPC method name returns error code -32601 (method not found)","Malformed params cause error -32602 (invalid params)","Calling a write method (e.g. eth_sendRawTransaction) is rejected as this is a read-only endpoint","Payment failure (insufficient USDC balance) returns HTTP 402","Block or transaction hash not found returns null result","Network congestion may cause intermittent timeouts"],"whenToPreferThis":"Choose this endpoint when you need trustless, decentralised read access to OP Mainnet Ethereum JSON-RPC without managing API keys or accounts. It is ideal for agents that need pay-as-you-go access (USDC per call via x402) without rate-limit subscriptions, and when decentralisation of the relay layer matters. Prefer it over centralised RPC providers (Alchemy, Infura) when censorship-resistance or key-free operation is a priority.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-03T00:46:24.415Z","isFirstParty":false,"canonicalSlug":"pocket-network-op-mainnet-json-rpc-0e2573ed"}