MoeLayerzero inflow 3 tokens symbols-
Updated 2023-04-29
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
symbol,
sum(usd_amount) / sum(tx_count) as avg_usd_per_tx,
sum(usd_amount) / sum(user_count) as avg_usd_per_user
from
(
(
select
date_trunc(week, block_timestamp) as week,
symbol,
'Optimism' as network,
count(tx_hash) as tx_count,
count(distinct from_address) as user_count,
sum(AMOUNT_USD) as usd_amount
from
optimism.core.ez_token_transfers
where
(
to_address in (
select
address
from
Optimism.core.dim_labels
where
ADDRESS_NAME ilike '%layerzero%'
)
)
group by
1,
2
union
select
date_trunc(week, block_timestamp) as week,
'ETH' as symbol,
'Optimism' as network,
count(tx_hash) as tx_count,
Run a query to Download Data