Skip to content
Dune Analytics

@phabc / EIP-1559: Cumulative ETH Burnt (1 year)

Cumulative ETH burnt - Last 365 DaysEIP-1559: Cumulative ETH Burnt (1 year)

Loading
 

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.

SQL query

1WITH 
2    burn_fees AS (
3        SELECT 
4            date_trunc('week', t.block_time) as dt,
5            sum((GREATEST(t.gas_price,10*POWER(10,9)) - 5*POWER(10,9)) * t.gas_used) / POWER(10,18) as burnt /* Assumes that the EIP-1559 tip is 5 gwei and rest is basefee*/
6        FROM ethereum.transactions as t
7        WHERE block_time >= (DATE_TRUNC('day',CURRENT_TIMESTAMP) - '365 days'::INTERVAL)
8        GROUP BY 1
9        ORDER BY 1
10)
11SELECT 
12    burn_fees.dt as week,
13    burn_fees.burnt as burnt_week,
14    sum(burn_fees.burnt) OVER(ORDER BY burn_fees.dt ROWS UNBOUNDED PRECEDING) as cumulative_burnt
15FROM burn_fees

SQL query results

Loading
 

Result visualizations

CounterEIP-1559: Cumulative ETH Burnt (1 year)

Loading