saeedmznaxlUSDC: Soon to be forgotten? -- most/least flows number transfers
Updated 2022-11-04
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
›
⌄
------------------CopyRight by Ali3n------------------ https://app.flipsidecrypto.com/dashboard/axl-usdc-soon-to-be-forgotten-tNernJ
WITH Transfers as (
select
block_timestamp ,
TX_ID ,
TRANSFER_TYPE ,
SENDER ,
RECEIVER ,
AMOUNT,
DECIMAL,
currency,
regexp_substr (sender,'[a-zA-Z]+|\d+') Sender_Chain,
regexp_substr (receiver,'[a-zA-Z]+|\d+') Receiver_Chain,
Sender_Chain|| ' To ' || Receiver_Chain Transfer_Path
from axelar.core.fact_transfers
where transfer_type in ('IBC_TRANSFER_IN','IBC_TRANSFER_OUT')
and currency = 'uusdc'
and TX_SUCCEEDED = 'TRUE'
)
select
iff(TRANSFER_TYPE='IBC_TRANSFER_OUT',Receiver_Chain,Sender_Chain) app_OR_chain,
count (distinct tx_id) num_transfers,
count (DISTINCT SENDER) num_senders,
count (DISTINCT RECEIVER ) num_RECEIVERs,
sum ((amount/POW (10,decimal))) transferred_volume,
avg ((amount/POW (10,decimal))) weekly_avg_volume,
median ((amount/POW (10,decimal))) Median_Volume,
min ((amount/POW (10,decimal))) Minimum_Volume,
max ((amount/POW (10,decimal))) Maximum_Volume
from Transfers
group by 1 order by num_transfers desc limit 10
------------------CopyRight by Ali3n------------------ https://app.flipsidecrypto.com/dashboard/axl-usdc-soon-to-be-forgotten-tNernJ
Run a query to Download Data