Ali3NAverage Spent Gas Per Block (Blast)
Updated 2024-06-03
99
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
›
⌄
with ethpricet as (
select hour::Date as day,
avg (price) as USDPrice
from ethereum.price.ez_hourly_token_prices
where symbol = 'WETH'
group by 1),
maintable as (
select block_number,
sum (tx_fee) as Gas,
sum (tx_fee*usdprice) as USD_Gas,
avg (tx_fee*usdprice) as Average_USD_Gas
from blast.core.fact_transactions t1 join ethpricet t2 on t1.block_timestamp::Date = t2.DAY
where block_timestamp >= '2024-02-29 00:00:00.000'
group by 1)
select avg (Gas) as "Average Gas [ETH]",
avg (usd_gas) as "Average Gas [USD]"
from maintable
Auto-refreshes every 12 hours
QueryRunArchived: QueryRun has been archived