sarathmetamask vs other 4
Updated 2022-06-25
99
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
›
⌄
with data1 as (SELECT tx_hash
from ethereum.core.ez_dex_swaps where origin_to_Address=lower('0x881D40237659C251811CEC9c364ef91dC08D300C')),
data2 as (
SELECT tx_hash
from ethereum.core.ez_dex_swaps where origin_to_Address!=lower('0x881D40237659C251811CEC9c364ef91dC08D300C')
),
data3 as (
SELECT date(block_timestamp) as date1,avg(tx_fee) as tx_fee_meta from ethereum.core.fact_transactions WHERE tx_hash in (SELECT tx_hash from data1)
GROUP by 1 ),
data4 as (
SELECT date(block_timestamp) as date2,avg(tx_fee) as tx_fee from ethereum.core.fact_transactions WHERE tx_hash in (SELECT tx_hash from data2)
GROUP by 1
)
SELECT date1,tx_fee_meta,tx_fee from data3 join data4 on data3.date1=data4.date2
ORDER by date2
limit 1000
Run a query to Download Data