About queries and results
Dune Analytics lets you explore, create, and share Ethereum analytics. You can find an endless amount of great queries and dashboards on Dune.
We have decoded Ethereum smart contract data so you can do powerful analysis with simple SQL queries and visualise the query results into beautiful graphs.
Dune Analytics is free for everyone forever. If you want extra features like private queries, export your results and more check out our Pro plan.
1select eth.DAY, count_eth, count_wbtc 2from 3(WITH DATA AS 4 (SELECT date(call_block_time) AS DAY, 5 count(output_mint) AS COUNT 6 FROM hegic."HegicETHPool_call_provide" 7 WHERE call_success = 'true' 8 GROUP BY DAY 9 ORDER BY DAY) 10SELECT DAY, 11 sum(COUNT) OVER ( 12 ORDER BY DAY ASC ROWS BETWEEN unbounded preceding AND CURRENT ROW) as count_eth 13FROM DATA) eth 14 15inner join 16 17(WITH DATA AS 18 (SELECT date(call_block_time) AS DAY, 19 count(output_mint) AS COUNT 20 FROM hegic."HegicERCPool_call_provide" 21 WHERE call_success = 'true' 22 GROUP BY DAY 23 ORDER BY DAY) 24SELECT DAY, 25 sum(COUNT) OVER (...