Skip to content
Dune Analytics

@phabc / Cumulative Gas Prices ~ Last 5 minutes

Cumulative Gas Prices ~ Last 5 minutes

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 gas_prices AS(
2    SELECT t.gas_price / 1e9 AS gwei
3    FROM ethereum.transactions t
4    WHERE t.block_time > now() - interval '5 minute'
5)
6SELECT
7    gas_prices.gwei as gas_prices_gwei,
8    ROUND(CAST(CUME_DIST() OVER (ORDER BY gas_prices.gwei ASC) * 100 as decimal(38,2)),2) || '%' cume_dist
9FROM gas_prices

SQL query results

Loading
 

Result visualizations

Cumulative distribution of Gas Prices ~ Last 5 minutesCumulative Gas Prices ~ Last 5 minutes

Loading