Ali3NTop 10 Users With Most Number of Sent axlUSDC Out of Axelar
Updated 2022-11-01
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
›
⌄
with maintable as (
select *,
regexp_substr (sender,'[a-zA-Z]+|\d+') as Sender_Chain,
regexp_substr (receiver,'[a-zA-Z]+|\d+') as Receiver_Chain,
Sender_Chain|| ' To ' || Receiver_Chain as Transfer_Path,
lower (split(currency,'-')[0]) as Symbol1,
iff (Symbol1 ilike 'u%',substring(Symbol1,2,LEN(Symbol1)), Symbol1) as Symbol
from axelar.core.fact_transfers
where transfer_type in ('IBC_TRANSFER_OUT')
and currency = 'uusdc'
and TX_SUCCEEDED = 'TRUE')
select sender,
count (distinct tx_id) as Transfers_Count,
sum ((amount/POW (10,decimal))) as Total_Volume,
avg ((amount/POW (10,decimal))) as Average_Volume,
median ((amount/POW (10,decimal))) as Median_Volume,
min ((amount/POW (10,decimal))) as Minimum_Volume,
max ((amount/POW (10,decimal))) as Maximum_Volume
from maintable
group by 1
order by 2 DESC
limit 10
Run a query to Download Data