peteersold and usd amount nft
Updated 2022-09-07
99
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
›
⌄
with optimism_nfts as (
SELECT * from optimism.core.dim_labels
inner join optimism.core.ez_nft_sales
on nft_address = address
)
select project_name, count(DISTINCT tx_hash) as no_of_txns,
count(distinct buyer_address) as no_of_buyers,
count(distinct seller_address) as no_of_sellers,
round(sum(price),2) as total_sales_volume,
sum(price_usd) as total_sales_volume_usd,
count(distinct tokenid) as no_of_nfts_sold
from optimism_nfts
where event_type = 'sale'
GROUP by project_name
order by no_of_txns desc
Run a query to Download Data