MLDZMNhwt11
Updated 2022-10-24
99
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
›
⌄
with tb1 as (select
mint,
count(tx_id) as no_trade,
count(distinct PURCHASER) as no_buyer,
count(distinct seller) as no_seller
from solana.core.fact_nft_sales
where SUCCEEDED='TRUE'
group by 1 having no_trade>1 and no_buyer=2 and no_seller=2
)
select
label as NFTs,
count(tx_id) as no_trade,
sum(sales_amount) as volume
from solana.core.fact_nft_sales s left outer join solana.core.dim_labels b on s.mint=b.address
where mint in (select mint from tb1)
and marketplace = 'hadeswap'
group by 1 having NFTs is not null
order by 3 desc limit 10
Run a query to Download Data