freemartianAnotherBlock earnings
    Updated 2023-09-17

    with mints as (
    select * from base.core.ez_nft_transfers
    where nft_address in (
    '0x0c664a85521d5721bca047d29238d9e2a9e9e861',
    '0x33ed5107f821bb1465da30b7dce4fb7105b0ad16',
    '0x8b2937ead425ccc91fc0ad884638dc2129c51cb2')
    and event_type = 'mint')


    select
    project_name as Quest_NFT,
    count(tx_hash) as Total_mints,
    case
    when Quest_NFT = 'Paradise' then Total_mints * 0.00055
    when Quest_NFT = 'Originator' then Total_mints * 0.0011
    when Quest_NFT = 'Ich R U' then Total_mints * 0.0022
    end as earnings
    from mints
    group by 1





    Run a query to Download Data