{"uid":"cap_xJWYSTY62OuhkuWDjxd2R","slug":"no-hands-ai-chain-indexed-query-preflight-57bf7a7a","name":"NO HANDS AI Chain Indexed Query Preflight","description":"Preflight an indexed chain-data query before payment: schema discovery, query type, estimated rows, cost fit, and safety flags.","url":"https://nohands-coinbase-bazaar.bytoken2023.workers.dev/v1/x402/chain/indexed-query-preflight?utm_source=zero.xyz","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":["chain","query_type"],"properties":{"chain":{"type":"string","allOf":[{"pattern":"[A-Za-z0-9]"}],"example":"base","pattern":"^[A-Za-z0-9:_ -]{2,80}$","description":"Requested chain or CAIP-2 network label."},"query_type":{"enum":["schema","event_logs","transfers","balances","transactions","sql","protocol_timeline"],"type":"string","example":"event_logs","description":"Indexed data query family."},"estimated_rows":{"type":"string","example":"5000","pattern":"^[0-9]{1,10}$","description":"Caller-estimated row count or result size."},"max_price_usdc":{"type":"string","example":"0.02","pattern":"^[0-9]+(?:\\.[0-9]{1,6})?$","description":"Maximum acceptable query price."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","x-schema-family":"STRUCTURED_PRODUCT_RESULT","x-schema-authority":"STRUCTURED_PRODUCT_RESULT","additionalProperties":true}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005008","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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.005008/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005008","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005008","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_yfkUOdXHil0n52V7hp1lv","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005008","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Preflights an indexed blockchain data query before payment by returning schema discovery, query type classification, estimated row count, cost fit analysis, and safety flags.","exampleAgentPrompt":"Before I pay for this indexed blockchain query, can you preflight it to check the query type, estimated row count, whether it fits my budget, and flag any safety issues?","exampleUseCases":[{"title":"Budget check before chain query","prompt":"I want to run an indexed query against on-chain transaction data — can you preflight it first to see the estimated row count and whether it fits a $0.01 budget before I actually pay for it?"},{"title":"Schema discovery for new data source","prompt":"I'm exploring a new indexed blockchain data endpoint and I'm not sure what schema it returns — can you do a preflight to discover the schema and query type without me having to pay for the full query?"},{"title":"Safety flag review before autonomous agent query","prompt":"My agent is about to execute an indexed chain-data query autonomously — run a preflight first and tell me if there are any safety flags I should know about before it proceeds."}],"resultDescription":"Returns a preflight assessment including: discovered schema for the indexed data source, classified query type, estimated number of rows the query would return, cost fit evaluation relative to caller budget, and any safety flags (e.g. unbounded queries, suspicious patterns, excessive cost). No data is fetched and no payment for the underlying query is made.","failureModes":["Invalid or unparseable query parameters return an error with no preflight result","Unknown or unsupported chain data source may return schema discovery failure","Query too broad or unbounded may trigger a safety flag rather than an estimate","Network or upstream indexer unavailability may cause timeout or partial response","Malformed query type returns classification error"],"whenToPreferThis":"Use this endpoint when an AI agent needs to evaluate an indexed blockchain data query before committing to payment — especially when budget constraints, safety, or schema uncertainty make a dry-run essential. Prefer this over directly executing the query when cost unpredictability or data volume is a concern, or when operating autonomously and needing to validate query safety before proceeding.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-02T18:33:14.677Z","isFirstParty":false,"canonicalSlug":"no-hands-ai-chain-indexed-query-preflight-57bf7a7a"}