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.
1WITH total_wbtc as ( SELECT DAY, 2 SUM(transfer) OVER ( 3 ORDER BY DAY) total_supply_wbtc 4 5FROM( 6SELECT date_trunc('day', call_block_time) as day, 7sum(amount) as transfer from hegic."HegicStakingWBTC_call_buy" 8WHERE call_success = true 9GROUP BY 1 10UNION 11SELECT date_trunc('day', call_block_time) as day 12, sum(-amount) as transfer from hegic."HegicStakingWBTC_call_sell" 13WHERE call_success = true 14GROUP BY 1) AS net), 15 16total_eth as ( SELECT DAY, 17 SUM(transfer) OVER ( 18 ORDER BY DAY) total_supply 19 20FROM( 21SELECT date_trunc('day', call_block_time) as day, 22sum(amount) as transfer from hegic."HegicStakingETH_call_buy" 23WHERE call_success = true 24GROUP BY 1 25UNION ...