kakamoraOverall Metrics
    Updated 2023-04-27
    with mints as (
    SELECT
    sum(nft_count) as nfts_minted,
    avg(tx_fee) as nft_mint_fee_avg,
    max(tx_fee) as nft_mint_fee_max,
    min(tx_fee) as nft_mint_fee_min,
    sum(tx_fee) as nft_mint_fee_sum,
    count(distinct nft_to_address) as minters,
    nfts_minted / minters as avg_mints_per_minter,
    datediff(day, min(block_timestamp), max(block_timestamp)) as days_since_first_mint
    from ethereum.core.ez_nft_mints
    where nft_address='0xdfb57b6e16ddb97aeb8847386989f4dca7202146'
    and nft_from_address='0x0000000000000000000000000000000000000000'
    and event_type ='nft_mint'
    ),
    failed as (
    SELECT
    count(tx_hash) as failed_mints,
    avg(TX_FEE) as failed_mint_avg_fee,
    sum(tx_fee) as failed_mint_tot_fee
    from ethereum.core.fact_transactions
    where to_address = '0xdfb57b6e16ddb97aeb8847386989f4dca7202146'
    and status != 'SUCCESS'
    )
    SELECT * FROM failed, mints
    Run a query to Download Data