PapasotTiger Chi holders algo balance
Updated 2022-07-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
›
⌄
with Tigers as (
select *
from algorand.asset
where ASSET_NAME like '%Tiger Chi #%'
and ASSET_DELETED= false
and creator_address= '6SB72WOCSRQA57ME4SQHJVKV3PIPCEYG6C7CHHIUKZAM2MXWSMPSATFA2I'
order by asset_name)
select
count(DISTINCT(address)) as frequency,
case
when balance between 0 and 1 then '0-1 Algo'
when balance between 1 and 100 then '1-100 Algo'
when balance between 100 and 10000 then '100-10000 Algo'
when balance between 10000 and 1000000 then '10000-1000000 Algo'
else '1000000+ Algo'
end as Buckets
from algorand.account_asset
left join Tigers b using (asset_name)
left join algorand.account c using (address)
where ASSET_NAME like '%Tiger Chi #%'
and amount = '1'
and b.creator_address= '6SB72WOCSRQA57ME4SQHJVKV3PIPCEYG6C7CHHIUKZAM2MXWSMPSATFA2I'
and asset_id is not null
and asset_name is not null
group by Buckets
order by Buckets
Run a query to Download Data