aor67eee1
    Updated 2022-10-14
    WITH worldofwomen AS (
    SELECT * FROM ethereum.core.ez_nft_sales
    WHERE event_type = 'sale'
    AND block_timestamp::DATE >= '2022-01-01'
    AND project_name IN ('world of women')
    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 worldofwomen
    Run a query to Download Data