{"uid":"cap_J91raMz70dUJvrJQZ6YXh","slug":"pocket-network-unichain-json-rpc-96a8e4b0","name":"Pocket Network – Unichain JSON-RPC","description":"Read-only JSON-RPC access to Unichain, the OP-Stack L2 by Uniswap, served by the Pocket Network decentralised supplier set. Pay per request in USDC; no account, no API key.","url":"https://agent.pocket.network/v1/unichain?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"method":{"type":"string","examples":["debug_getBadBlocks","debug_getRawBlock","debug_getRawHeader","debug_getRawReceipts","debug_getRawTransaction","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","txpool_status","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":"unichain","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_S_HFKXKbSl5FScfhkZypi","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 Unichain (Uniswap's OP-Stack L2) via the Pocket Network decentralized relay, billed per-request in USDC with no API key required.","exampleAgentPrompt":"What's the current ETH balance of 0xAbCd...1234 on Unichain? Use the Pocket Network decentralized relay — no API key needed.","exampleUseCases":[{"title":"Real-time DeFi position monitoring","prompt":"Check the current token balance and recent transfer logs for wallet 0xAbCd...1234 on Unichain so I can see if my Uniswap LP position has changed in the last 50 blocks."},{"title":"Gas estimation before a swap","prompt":"Estimate the gas needed for this Uniswap swap calldata on Unichain: to 0xDEF...789, data 0x...abc, value 0 — I want to know if it's safe to submit before I send it."},{"title":"Block explorer data lookup","prompt":"Fetch the full details for Unichain block number 4200000, including all transaction hashes and the base fee, so I can audit what happened in that block."}],"resultDescription":"Returns a standard JSON-RPC response object with an 'id', 'jsonrpc' version, and 'result' field containing the requested on-chain data (balance in wei, block object, transaction receipt, log array, gas estimate as hex, etc.), or an 'error' object with code and message on failure.","failureModes":["Method not supported — returns JSON-RPC error code -32601 if the method is not in the allowed read-only list","Invalid params — returns -32602 if params don't match the method's expected signature","Node not synced — may return stale or missing data if the underlying Pocket supplier is behind","Payment failure — HTTP 402 if the x402 USDC micropayment is not included or insufficient","Rate limiting — HTTP 429 if request volume exceeds per-session limits","Network timeout — upstream Pocket relay may time out for heavy debug_ calls"],"whenToPreferThis":"Choose this endpoint when you need trustless, decentralised JSON-RPC access to Unichain specifically (Uniswap's OP-Stack L2) without registering an account or managing API keys. It is ideal for AI agents that want pay-per-use access via USDC micropayments (x402 protocol) and don't want vendor lock-in to a centralised RPC provider. Prefer alternatives if you need write access (eth_sendRawTransaction), WebSocket subscriptions, or a different EVM chain.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-03T00:46:10.144Z","isFirstParty":false,"canonicalSlug":"pocket-network-unichain-json-rpc-96a8e4b0"}