KaskoazulLofty Wallets
Updated 2022-03-01
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 LOFTYWALLETS AS (
SELECT
att.asset_receiver,
--att.asset_sender,
--att.asset_transferred,
a.asset_id,
a.asset_name,
att.asset_amount,
a.total_supply,
--a.created_at,
att.tx_id
--att.tx_type,
--att.tx_type_name
FROM
algorand.asset a
INNER JOIN
algorand.asset_transfer_transaction att
ON a.asset_id = att.asset_id
WHERE
creator_address = 'LOFTYRITC3QUX6TVQBGT3BARKWAZDEB2TTJWYQMH6YITKNH7IOMWRLC7SA'
AND asset_deleted ='FALSE'
AND a.asset_id != 237267329 --Lofty AI
AND att.asset_amount != 0
ORDER BY a.asset_name, att.asset_amount desc
)
SELECT
--count (distinct asset_receiver) as PropertyOwnerWallets
count (distinct asset_id) as NumberProperties,
sum(asset_amount) as TotalTokensBought,
50*TotalTokensBought as TotalInvestment,
asset_receiver
FROM
LOFTYWALLETS
WHERE asset_receiver != 'LOFTYRITC3QUX6TVQBGT3BARKWAZDEB2TTJWYQMH6YITKNH7IOMWRLC7SA'
Run a query to Download Data