Drsimonpills 4
    Updated 2024-12-18
    --https://warpcast.com/~/channel/ogs
    --https://warpcast.com/hony


    select
    ---block_timestamp::date AS day,
    count (DISTINCT tx_hash) as "Total trades",
    count(DISTINCT ORIGIN_FROM_ADDRESS) as "Total users",

    --min(price_usd) as "Min trading volume (USD)",
    --avg(price_usd) as "Avg trading volume (USD)",
    --max(price_usd) as "Max trading volume (USD)",
    sum(price_usd) as "Total trading volume (USD)",

    --min(price) as "Min trading volume (ETH)",
    --avg(price) as "Avg trading volume (ETH)",
    --max(price) as "Max trading volume (ETH)",
    sum(price) as "Total trading volume (ETH)",
    sum(TOTAL_FEES) as "TOTAL FEES (ETH)",
    sum(TOTAL_FEES_USD) as "TOTAL FEES (USD)"

    from base.nft.ez_nft_sales
    where nft_address = lower('0x6e230533d53e2f8fb90c542f02e5fa306b1fe1d3')
    and price <= '100'
    and price <> '0'

    QueryRunArchived: QueryRun has been archived