Moeava usdc chains
999
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
›
⌄
select
'Avalanche' as chain ,
LABEL_TYPE as sector ,
count(distinct TX_HASH) as txns,
count(distinct FROM_ADDRESS) as users,
sum(amount_usd) as usd_amt,
avg(amount_usd) as avg_usd_amt
from avalanche.core.ez_token_transfers
join avalanche.core.dim_labels on TO_ADDRESS = address
where block_timestamp >= CURRENT_DATE - {{days_back}}
and SYMBOL ilike 'usdc'
-- and PROJECT_NAME is not null
group by 1,2
union all
select
'Arbitrum' as chain ,
LABEL_TYPE as sector ,
count(distinct TX_HASH) as txns,
count(distinct FROM_ADDRESS) as users,
sum(amount_usd) as usd_amt,
avg(amount_usd) as avg_usd_amt
from Arbitrum.core.ez_token_transfers
join Arbitrum.core.dim_labels on TO_ADDRESS = address
where block_timestamp >= CURRENT_DATE - {{days_back}}
and SYMBOL ilike 'usdc'
-- and PROJECT_NAME is not null
Run a query to Download Data