{"uid":"cap_aRM-T2WEPRNDZIuOaj0pz","slug":"pocket-network-linea-json-rpc-a61128b5","name":"Pocket Network – Linea JSON-RPC","description":"Pay-per-call access to Pocket Network services. No account, no API key.","url":"https://agent.pocket.network/v1/linea?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"method":{"type":"string","examples":["eth_accounts","eth_blobBaseFee","eth_blockNumber","eth_call","eth_chainId","eth_config","eth_createAccessList","eth_estimateGas","eth_feeHistory","eth_gasPrice","eth_getBalance","eth_getBlockByHash","eth_getBlockByNumber","eth_getBlockReceipts","eth_getBlockTransactionCountByHash","eth_getBlockTransactionCountByNumber","eth_getCode","eth_getFilterChanges","eth_getFilterLogs","eth_getLogs","eth_getProof","eth_getStorageAt","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":"linea","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_wXj8nRyOsrrgc8pnt7dIg","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-compatible JSON-RPC access to Linea (Consensys ZK rollup) via Pocket Network's decentralised relay, pay-per-request in USDC.","exampleAgentPrompt":"What's the current ETH balance of 0xAbCd...1234 on Linea mainnet? Use eth_getBalance with the latest block tag.","exampleUseCases":[{"title":"DeFi portfolio balance check","prompt":"Fetch the token balance of wallet 0xAbCd...1234 on Linea mainnet using eth_getBalance at the latest block — I need to know how much ETH they're holding on the Consensys ZK rollup."},{"title":"Smart contract call on Linea","prompt":"Call the totalSupply() function on the ERC-20 contract at 0xDeFi...5678 on Linea mainnet using eth_call — return the raw hex result."},{"title":"Gas estimation before Linea transaction","prompt":"Estimate the gas needed to send 0.5 ETH from 0xSend...0001 to 0xRecv...0002 on Linea using eth_estimateGas so I can set a safe gas limit before submitting."}],"resultDescription":"A standard Ethereum JSON-RPC response object containing a 'result' field with the requested data (e.g. hex-encoded balance, block object, transaction receipt, log array) or an 'error' object with code and message if the call fails.","failureModes":["Invalid or unsupported JSON-RPC method returns an error object with code -32601","Malformed params cause a -32602 invalid params error","Payment not received or insufficient USDC causes a 402 Payment Required response","Network congestion or supplier unavailability may return a 503 or timeout","Write methods (eth_sendRawTransaction) are rejected as this is a read-only endpoint"],"whenToPreferThis":"Choose this endpoint when you need trustless, decentralised JSON-RPC access to Linea (Consensys ZK rollup) without setting up an API key or account — ideal for agents making sporadic per-request calls billed in USDC via x402, or when avoiding centralised RPC providers like Infura or Alchemy is a priority.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-03T00:47:21.092Z","isFirstParty":false,"canonicalSlug":"pocket-network-linea-json-rpc-a61128b5"}