{"uid":"cap_zoQD6rRCEH8Zd72YcSRNK","slug":"lion-x402-keyless-base-rpc-json-b5832c37","name":"LION x402 Keyless Base RPC JSON","description":"Keyless attested data for autonomous agents. USDC on Base via x402. Official @x402/* middleware.","url":"https://lion-x402-bible.lionmaster-operations.workers.dev/api/x402/keyless-base-rpc-json","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["method"],"properties":{"chain":{"type":"string","description":"base|ethereum"},"method":{"type":"string","description":"JSON-RPC method e.g. eth_blockNumber"},"params":{"type":"string","description":"JSON array string of params"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"asset_id":"LION","resolved":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_9HM46j7BLghFX0XvArEIc","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","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 Base (or Ethereum) blockchain nodes with keyless attested access, paid via USDC on Base using the x402 protocol.","exampleAgentPrompt":"Can you fetch the current block number on Base using eth_blockNumber — no params needed?","exampleUseCases":[{"title":"Check latest Base block number","prompt":"What's the current block number on Base? Use eth_blockNumber with no params."},{"title":"Fetch wallet ETH balance on Base","prompt":"Get the ETH balance for wallet address 0xAbC123... on Base — use eth_getBalance with block tag 'latest'."},{"title":"Query gas price on Ethereum","prompt":"What's the current gas price on Ethereum mainnet? Call eth_gasPrice with no params on the ethereum chain."}],"resultDescription":"A JSON-RPC response object containing the result of the requested method call (e.g. current block number as a hex string, account balance, transaction receipt, or other on-chain data), along with asset_id 'LION' and a resolved flag.","failureModes":["Invalid or unsupported JSON-RPC method returns an error response","Malformed params JSON array causes a parse error","Payment not fulfilled (x402 402 response) if USDC payment on Base fails","Unsupported chain value (not 'base' or 'ethereum') may return an error","Rate limiting or worker timeout for heavy RPC queries"],"whenToPreferThis":"Choose this endpoint when an AI agent needs to make arbitrary JSON-RPC calls to Base or Ethereum without managing API keys or signing up for a node provider. It is particularly useful in autonomous agent workflows that support x402 micropayments (USDC on Base) and need keyless, attested blockchain data access on demand.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:33:50.976Z","isFirstParty":false}