Monitize AINYAN 3
Updated 2024-07-15
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
›
⌄
-- forked from NYAN 3 @ https://flipsidecrypto.xyz/edit/queries/2c73b53a-3c93-4a24-a200-de55225821c2
select
case
when volume <= 32 then '1. Shrimp(22.6~32)'
when volume > 32 and volume <= 50 then '2. Crab(32~50)'
when volume > 50 and volume <= 100 then '3. Octopus(50~100)'
when volume > 100 and volume <= 500 then '4. Fish(100~500)'
when volume > 500 and volume <= 1000 then '5. Dolphin(500~1K)'
when volume > 1000 and volume <= 5000 then '6. Shark(1K~5K)'
else '7. Whale(>5K)' end as type,
count(distinct claimers) as users,
sum(volume) as total_amount
from(
select
distinct tx_to as claimers,
sum(amount) as volume
from solana.core.fact_transfers
where tx_from = '4cZgUw6T8yYQ2CordAfSzS4Q5VKJNyVU3JEX6xGg2Xwy'
and mint = 'NYANpAp9Cr7YarBNrby7Xx4xU6No6JKTBuohNA3yscP'
--and program_id = 'meRjbQXFNf5En86FXT2YPz1dQzLj4Yb3xK8u1MVgqpb'
and tx_to != 'C8FXTcztFpdjMjPZYtu6mMTs3M5fLzNKR7Q6vymkQC8e'
and amount > 0
group by 1
)
group by 1
order by 2 desc
QueryRunArchived: QueryRun has been archived