potmooptimism avg tx fee
Updated 2022-10-27
99
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
›
⌄
with swap_txs as (
select distinct tx_hash
from optimism.sushi.ez_swaps
where block_timestamp::date > current_date() -90
),
fees as (
select block_timestamp::date as date,
tx_hash, tx_fee, gas_price
from optimism.core.fact_transactions
where block_timestamp::date > current_date() -90
)
select avg(tx_fee)
from swap_txs
left join
fees f
using(tx_hash)
Run a query to Download Data