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 mint_burn as 2( 3SELECT 4 date_trunc('day', evt_block_time) as day, 5 sum(case when "from" = '\x0000000000000000000000000000000000000000' then value else 0 end)/1e8 as mint, 6 sum(case when "to" = '\x0000000000000000000000000000000000000000' then value else 0 end)/1e8 as burn 7FROM erc20."ERC20_evt_Transfer" 8WHERE contract_address = '\xeb4c2781e4eba804ce9a9803c67d0893436bb27d' -- renBTC token contract address 9group by 1 10) 11 12select 13 day, 14 mint, 15 avg(mint) over (order by day Rows Between 7 preceding and current row) as mint_ma_7d, 16 burn, 17 avg(burn) over (order by day Rows Between 7 preceding and current row) as burn_ma_7d 18from mint_burn