Afonso_Diazgrouping txns ($USD)
Updated 2025-05-07
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
›
⌄
with main as (
select
tx_hash,
block_timestamp,
seller_address,
buyer_address,
total_price as price,
total_price_usd as price_usd,
platform_fee,
platform_name,
tokenid,
aggregator_name
from
aptos.nft.ez_nft_sales
where
project_name ilike '%loonies%'
)
select
case
when price_usd < 10 then 'a. <$10'
when price_usd < 50 then 'b. $10 - $49'
when price_usd < 100 then 'c. $50 - $99'
when price_usd < 500 then 'd. $100 - $499'
when price_usd < 1000 then 'e. $500 - $999'
else 'f. $1,000+'
end as volume_type,
count(distinct tx_hash) as transactions
from
main
group by 1
order by 1
QueryRunArchived: QueryRun has been archived