andurilUntitled Query
    Updated 2022-08-19
    /*
    SELECT
    PROJECT_NAME,
    COUNT (DISTINCT tx_hash) as unique_mint_txs,
    COUNT (DISTINCT NFT_TO_ADDRESS) as unique_addresses,
    SUM (MINT_PRICE_ETH) as eth_spent,
    SUM (MINT_PRICE_USD) as usd_spent,
    SUM (TX_FEE) as gas,
    count (tOKENID) as mints_count
    FROM ethereum.core.ez_nft_mints
    --COUNT (DISTINCT tx_hash) as mints
    where BLOCK_TIMESTAMP::DATE between '2022-08-11' AND '2022-08-18'
    AND project_name IS NOT NULL
    group by 1
    --HAVING eth_spent BETWEEN 0 and 1000
    order by 7 DESC


    with launch_date as (
    select
    min(block_timestamp) as first_tx_date,
    project_name
    FROM ethereum.core.ez_nft_mints
    group by project_name
    --where date(block_timestamp) between '2022-08-11' AND '2022-08-18'
    ),

    new_projects as (
    select
    project_name
    from launch_date
    where
    first_tx_date between '2022-08-11' AND '2022-08-18'
    )


    Run a query to Download Data