SQL Syntax Checker for Blockchain Queries

Validate a read-only blockchain SQL query without executing it. Returns query acceptance, rewritten SQL, scan estimates, scan budgets, referenced tables and warnings without executing the query. Use one Toolmu account and a shared prepaid balance across available Tools. Pay per use; no separate supplier subscription is required. The current execution ceiling for this Tool is 0.0288 Toolmu credits per call. This is a maximum, not the settled charge. Before execution, get the current Tool contract and check availability, the latest maximumCredits, your balance and budget. Supplier response credits_used, when present, describes supplier API credits and is not the Toolmu customer charge.

Up to 0.0288 credits / call

The final charge is based on confirmed usage. Unused reserved credits return to your available balance.

Surf

SQL Syntax Checker for Blockchain Queries

Validate a read-only blockchain SQL query without executing it. Returns query acceptance, rewritten SQL, scan estimates, scan budgets, referenced tables and warnings without executing the query. Use one Toolmu account and a shared prepaid balance across available Tools. Pay per use; no separate supplier subscription is required. The current execution ceiling for this Tool is 0.0288 Toolmu credits per call. This is a maximum, not the settled charge. Before execution, get the current Tool contract and check availability, the latest maximumCredits, your balance and budget. Supplier response credits_used, when present, describes supplier API credits and is not the Toolmu customer charge.

You receive

Returns query acceptance, rewritten SQL, scan estimates, scan budgets, referenced tables and warnings without executing the query. Preflight acceptance and estimates do not mean the query ran or returned data. Keep warnings and explicit scan limits visible.

Start with your task

Tell me what you want to find out, or paste something you already have. I’ll check whether it only looks at existing data, roughly how much data it may need to review, and what details are missing. I won’t run it.

Questions about this tool.

Inputs, results and details to know before running it.

Get connected

body.sql (Required): Read-only ClickHouse SELECT/WITH query to validate and estimate WITHOUT executing. Same shape and rules as /onchain/sql. Rules (server-enforced or query-killing): SELECT/WITH only (read-only); table references must be database-qualified as agent.<table>; ALWAYS filter on block_date or block_number (partition key — without it the query times out); compare address columns directly against lowercase literals (wrapping the column in lower() is rejected); never filter on symbol columns (unindexed full scan, and symbol matches surface scam clones — resolve a ticker to a contract address with /search/token first); on transfer tables use separate UNION ALL branches instead of OR across from/to; use single quotes for strings, e.g. toDate('2026-04-07'). body.max_rows (Optional): Maximum rows to return. Example: 100. Defaults to 1000 (server-side), capped at 10000.