aor67art gobblers 1
Updated 2022-11-02
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
›
⌄
WITH art AS (
SELECT * FROM ethereum.core.ez_nft_sales
WHERE event_type = 'sale'
AND NFT_ADDRESS = lower ('0x60bb1e2AA1c9ACAfB4d34F71585D7e959f387769')
AND buyer_address <> '0x0000000000000000000000000000000000000000'
AND price <> '0'
and CURRENCY_SYMBOL in ('ETH','WETH')
)
SELECT
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,
SUM(tx_fee) AS tx_fee,
SUM(tx_fee_usd) AS tx_fee_usd,
AVG(price) AS average_price,
MIN(price) AS minimum_price,
MAX(price) AS maximum_price
FROM Art
Run a query to Download Data