Blockchain data, without the scripting.
Query events, calls, contracts, and state across EVM chains with one composable language.
Free while we’re in beta. How the beta works
let aave = ethereum:0x87870Bca3F3fD6335C3F4ce8392D69350B4fA4E2;
let oracle = ethereum:0x54586bE62E3c3580375aE3723C145253060Ca0C2;
let WETH = ethereum:0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2;
from aave events LiquidationCall
at time '2025-10-10T18:00:00Z'..'2025-10-11T04:00:00Z' as l
| where l.collateralAsset == WETH
| extend eth = todecimal(l.liquidatedCollateralAmount) / 1e18,
price = todecimal(oracle.getAssetPrice(WETH)) / 1e8
| summarize liquidations = count(), seized = sum(eth),
usd = sum(eth * price), ethLow = min(price)
by hour = bin($timestamp, 1h)
| order by hour asc| hourdatetime | liquidationsbigint | seizeddecimal | usddecimal | ethLowdecimal |
|---|---|---|---|---|
| 2025-10-10T18:00:00Z | 2 | 87.566274 | 356530.133931 | 4071.546201 |
| 2025-10-10T19:00:00Z | 17 | 140.626380 | 563946.748704 | 3968.31 |
| 2025-10-10T20:00:00Z | 14 | 41.664770 | 163140.232111 | 3895.956716 |
| 2025-10-10T21:00:00Z | 140 | 6109.572849 | 22183635.852036 | 3456.7046 |
| 2025-10-10T22:00:00Z | 1 | 0.746575 | 2901.081222 | 3885.85 |
| 2025-10-10T23:00:00Z | 19 | 34.324879 | 131896.156127 | 3820.5056 |
That’s a real run: every liquidation on Aave’s main Ethereum market that seized ETH, hour by hour through the crash of October 10, 2025, each priced by Aave’s own oracle at its block. We trimmed the decimals to 6 places to fit.
How a query runs
from stETH at latestPick a contract and its blocks
One block, a range, or one block in every few thousand. Name them by number or by time.
| project { … }Shape the rows
Each line takes the rows from the line above. Filter them, add columns, join another series or total them up.
ethereum latest 26,123,149 finalized 26,123,064Get rows tied to a block
Every result records the blocks it read. Rerun it next week and you’ll know whether the chain moved or the question did.
What you can ask
at latest-21600..latest every 7200State over time- Call any read function across a range of blocks, every few thousand blocks or every hour, day or week.
from stETH events TransferEvents- Read a contract’s events with their arguments decoded, filter them, and check its state at the block each one landed in.
| join (…) on $blockJoins and unions- Line up two series by block or by hour, or stack results that share columns. Both happen in the query, not in a spreadsheet afterward.
ethereum:0x… base:0x…Several chains- Every address carries its chain, so one query can read Ethereum, Base and Arbitrum together.
with { abi: erc20 }ABIs found for you- We look up the ABI of any verified contract. For the rest, paste one into your library once, or use a built-in like erc20.
| summarize total = sum(t.value) by senderOne step per line- Filter, compute, sort, keep the top rows, add things up. Each line works on the rows from the line above it.
Some questions we’ve asked it
- How far did Uniswap’s ETH price fall below Chainlink’s?40 minutes of the same crash, swap by swap, beside the oracle at each block.
- How did stETH’s rebases move its share rate?3 days of rebase events, each next to the contract’s state at that block.
- Who wrapped the most stETH?Transfers into wstETH over 10,000 blocks, added up by sender.
- How much wstETH is on Base?Supply on two chains, matched hour by hour.
- Did the share rate track pooled ether?Two series from one contract, joined on the block.
Questions
Which chains can I query?
Ethereum, Base and Arbitrum for now. Every address includes its chain, like ethereum:0xae7a…fE84, so one query can read more than one.
Can my agent write and run queries?
Yes. Connect it to heto’s MCP server and it checks and runs CQL itself, then reads back the rows. The setup guide has the steps, and For your agent shows what it saves you.
Can a query change anything on-chain?
No. heto only reads. It calls contracts the way a wallet does when it previews a transaction, and it never sends one.
How fresh is the data?
A run reads the chain as of the moment it starts, and records the latest and the finalized block it saw. Run it again to pick up new blocks, or name an older block to look back.
Do I need the contract’s ABI?
Not if the contract is verified. We find the ABI for you. If it isn’t verified, paste its ABI into your library once, or use a built-in one like erc20.
What does it cost?
Nothing while we’re in beta, and that includes running queries. Later, running a query will cost credits, and writing and saving queries will stay free. The details are on the pricing page.
Write your first query.
The editor checks your query as you type and shows what a run will read before it starts.