Afonso_Diaz2023-04-27 01:26 PM
Updated 2023-04-27
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
›
⌄
with
t as (
select t.chain
from ((values
('assetmantle'),
('juno'),
('kujira'),
('comdex'),
('umee'),
('axelarnet'),
('stargaze'),
('agoric'),
('terra2'),
('osmosis'),
('crescent'),
('evmos'),
('secret')
) as t(chain)
)),
t4 as (
select
sender as user,
count(distinct tx_hash) transactions,
sum(amount) as volume_usd
from axelar.core.ez_squid
where destination_chain in (select chain from t)
and block_timestamp >= '2023-02-23'
group by 1
)
select
case
when transactions = 1 then '1 Transaction'
when transactions <= 5 then '2 - 5 Transactions'
when transactions <= 10 then '6 - 10 Transactions'
Run a query to Download Data