elsinaActivity by event_type
    Updated 2024-11-01
    with tx as (
    SELECT
    event_type,
    count(DISTINCT buyer_address) as buyer_count,
    count(DISTINCT seller_address) as seller_count,
    count(DISTINCT tx_hash) as tx_count,
    count(distinct project_name) as collection_count,
    sum(price_usd) as total_vol,
    sum(TOTAL_FEES_USD) as total_total_fee,
    avg(TOTAL_FEES_USD) as avg_total_fee,
    sum(PLATFORM_FEE_USD) as total_platform_fee,
    avg(PLATFORM_FEE_USD) as avg_platform_fee,
    sum(CREATOR_FEE_USD) as total_creator_fee,
    avg(CREATOR_FEE_USD) as avg_creator_fee,
    sum(TX_FEE_USD) as total_tx_fee,
    avg(TX_FEE_USD) as avg_tx_fee,
    avg(price_usd) as avg_nft_price,
    min(price_usd) as min_nft_price,
    median(price_usd) as median_nft_price,
    max(price_usd) as max_nft_price,
    from
    base.nft.ez_nft_sales
    where
    block_timestamp::date between '2024-10-01' and '2024-10-31'
    group by
    event_type
    order by
    event_type asc
    )

    select
    event_type,
    tx_count,
    total_vol,
    buyer_count,
    seller_count,
    QueryRunArchived: QueryRun has been archived