jeneiukMetamask's Daily Average New Traders in Each year
    Updated 2022-11-11

    with new_meta_2020 as (
    select origin_from_address as user_address, min(block_timestamp)::date as min_date , '2020' as type
    from ethereum.core.fact_event_logs where lower(contract_address) = lower('0x881D40237659C251811CEC9c364ef91dC08D300C')
    group by user_address
    having min_date <= '2020-12-31' and min_date >= '2020-01-01'
    ) , new_meta_2021 as (
    select origin_from_address as user_address, min(block_timestamp)::date as min_date , '2021' as type
    from ethereum.core.fact_event_logs where lower(contract_address) = lower('0x881D40237659C251811CEC9c364ef91dC08D300C')
    group by user_address
    having min_date <= '2021-12-31' and min_date >= '2021-01-01'
    ) , new_meta_2022 as (
    select origin_from_address as user_address, min(block_timestamp)::date as min_date , '2022' as type
    from ethereum.core.fact_event_logs where lower(contract_address) = lower('0x881D40237659C251811CEC9c364ef91dC08D300C')
    group by user_address
    having min_date >= '2022-01-01' and min_date <= '2022-06-23'
    )
    select count(user_address)/365 as Average_New_Traders, type
    from new_meta_2020 group by type
    UNION
    select count(user_address)/365 as Average_New_Traders, type
    from new_meta_2021 group by type
    UNION
    select count(user_address)/datediff(day, '2022-01-01', '2022-06-23') as Average_New_Traders, type
    from new_meta_2022 group by type
    Run a query to Download Data