{"uid":"cap_WtviuR6VMFPdGCUF4PizF","slug":"phantom-api-linea-rpc-endpoint-dc40858b","name":"Phantom API — Linea RPC Endpoint","description":"Lightning-fast access to blockchain data, smart contract insights, and Web3 infrastructure across 57+ networks. Pay-per-call via x402.","url":"https://phantom-api-omega.vercel.app/api/linea/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_zIuH7WWGG48YTQtppaZSR","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":"Provides a pay-per-call JSON-RPC gateway to the Linea blockchain network, enabling agents to query on-chain state, submit transactions, and interact with smart contracts.","exampleAgentPrompt":"Get me the current ETH balance for wallet address 0xABC123 on the Linea network using eth_getBalance.","exampleUseCases":[{"title":"DeFi portfolio balance check","prompt":"What's the current token balance for wallet 0xDEADBEEF on the Linea network? Use eth_call to query the ERC-20 contract at 0xTOKEN123."},{"title":"Smart contract state read","prompt":"Read the latest state from a smart contract deployed on Linea — call the totalSupply function on contract 0xCONTRACT456 for me."},{"title":"Transaction confirmation lookup","prompt":"Can you check if transaction 0xTXHASH789 was confirmed on the Linea blockchain and tell me the block it landed in?"}],"resultDescription":"Returns a JSON-RPC response object containing the result of the requested blockchain query — such as hex-encoded balances, block objects, transaction receipts, smart contract return values, or error objects if the call fails.","failureModes":["Invalid or unsupported JSON-RPC method returns an error object","Malformed params array causes parse or invalid params error","Payment not included or insufficient USDC results in 402 Payment Required","Network congestion on Linea causes delayed or timed-out responses","Contract call reverts return an execution revert error","Rate limiting if too many calls are made in short succession"],"whenToPreferThis":"Choose this endpoint when you need direct RPC access to the Linea (ConsenSys zkEVM L2) network specifically, and want pay-per-call pricing via x402 without committing to a subscription. Ideal for agents that make sporadic on-chain reads or writes to Linea and need low-latency access without managing their own node.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T18:50:54.200Z","isFirstParty":false,"canonicalSlug":"phantom-api-linea-rpc-endpoint-dc40858b"}