{"uid":"cap_V9ljomFlsV40AfhPIL0FN","slug":"blockrun-on-chain-query-7803696c","name":"BlockRun On-Chain Query","description":"BlockRun lets AI agents use money well: pay for results, not for seats or subscriptions, and put every cent on the model or tool that actually does the job.","url":"https://blockrun.ai/api/v1/surf/onchain/query?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":null,"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0085","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.0085/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0085","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0085","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_6dHiJ3wwp1UpKHDjOPo75","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0085","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Execute on-chain blockchain queries through BlockRun's AI routing and payment layer, settled in USDC on Base or Solana","exampleAgentPrompt":"Can you query the on-chain data for the latest transactions on Base using BlockRun's surf endpoint — I need to see what's happening with a specific wallet's recent activity?","exampleUseCases":[{"title":"On-chain wallet activity lookup","prompt":"Pull the recent on-chain transaction history for wallet address 0xABC123 on Base — I want to see what it's been doing in the last 48 hours."},{"title":"DeFi protocol state query","prompt":"Query on-chain data for the current liquidity pool state of a Uniswap V3 pool on Base — I need the reserves and fee tier."},{"title":"Smart contract data retrieval","prompt":"Fetch the on-chain state of a specific smart contract on Solana — I want to know the current token supply and holder count."}],"resultDescription":"Returns on-chain blockchain data as a structured JSON object containing the queried blockchain state, transaction records, or contract data relevant to the submitted query parameters.","failureModes":["Insufficient USDC balance to cover the $0.0085 per-call fee — payment fails and query is rejected","Malformed or empty request body — returns 400 bad request","Unsupported chain or contract address — returns empty or null data object","Network congestion on Base or Solana causes delayed settlement","Query too broad or unspecified — returns generic or empty data response"],"whenToPreferThis":"Choose this endpoint when you need to retrieve live or historical on-chain blockchain data through a single unified endpoint with built-in crypto payment settlement via USDC on Base or Solana, without managing separate RPC providers or API keys. Prefer it for AI agent workflows where x402 micropayment support is already integrated and on-chain data access needs to be seamless and pay-per-query.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-18T12:46:49.408Z","isFirstParty":false,"canonicalSlug":"blockrun-on-chain-query-7803696c"}