Moe0probprob
Updated 2022-12-03
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
›
⌄
select
'Osmosis' as chain,
sum(amount/pow(10,DECIMAL)) as axl_amoun,
avg(amount/pow(10,DECIMAL)) as avg_axl_amoun,
median(amount/pow(10,DECIMAL)) as median_axl_amoun,
count(distinct TX_ID) as txns,
count(distinct sender) as senders,
count(distinct receiver) as receivers
from
osmosis.core.fact_transfers
where currency = 'ibc/903A61A498756EA560B85A85132D3AEE21B5DEDD41213725D22ABF276EA6945E'
and TX_STATUS = 'SUCCEEDED'
and BLOCK_TIMESTAMP::date >= CURRENT_DATE - {{days_back}}
union all
select
'Axelar' as chain,
sum(amount/pow(10,DECIMAL)) as axl_amoun,
avg(amount/pow(10,DECIMAL)) as avg_axl_amoun,
median(amount/pow(10,DECIMAL)) as median_axl_amoun,
count(distinct TX_ID) as txns,
count(distinct sender) as senders,
count(distinct receiver) as receivers
from
axelar.core.fact_transfers
where currency = 'uaxl'
and TX_SUCCEEDED = 'TRUE'
and BLOCK_TIMESTAMP::date >= CURRENT_DATE - {{days_back}}
Run a query to Download Data