Afonso_Diaz2023-08-10 02:03 AM
99
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
›
⌄
with
t1 as (
select
to_address as user,
sum(amount) as inflow_volume_eco
from optimism.core.ez_token_transfers
where contract_address = lower('0xe7BC9b3A936F122f08AAC3b1fac3C3eC29A78874')
and not user in (
select distinct address from optimism.core.dim_labels
union all
select distinct address from optimism.core.dim_contracts
)
group by 1
),
t2 as (
select
from_address as user,
sum(amount) as outflow_volume_eco
from optimism.core.ez_token_transfers
where contract_address = lower('0xe7BC9b3A936F122f08AAC3b1fac3C3eC29A78874')
and not user in (
select distinct address from optimism.core.dim_labels
union all
select distinct address from optimism.core.dim_contracts
)
group by 1
)
select
Run a query to Download Data