aor67R8
Updated 2022-12-02
99
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
›
⌄
WITH d3 AS (
SELECT * FROM ethereum.core.ez_nft_sales
WHERE event_type = 'sale'
AND Nft_ADDRESS =lower ('0x49c36AFa15C7Fdbd57cE3D61D80F39b6615A76Ef')
AND buyer_address <> '0x0000000000000000000000000000000000000000'
)
SELECT platform_name AS platform,
COUNT(DISTINCT tx_hash) AS number_of_transactions,
COUNT(DISTINCT buyer_address) AS number_of_buyers,
COUNT(DISTINCT seller_address) AS number_of_sellers,
COUNT(DISTINCT tokenid) AS number_of_nfts,
SUM(price) AS total_sales_amount,
SUM(price_usd) AS total_sales_amount_usd,
SUM(platform_fee) AS platform_fee,
SUM(platform_fee_usd) AS platform_fee_usd
FROM d3
GROUP BY 1
Run a query to Download Data