yasmin-n-d-r-hPRICE AVAX copy copy copy
    Updated 2025-01-09
    with
    avalanche_new as (
    select min(block_timestamp::date) as date, from_address
    from avalanche.core.fact_transactions
    group by from_address
    ),
    base_new as (
    select min(block_timestamp::date) as date, from_address
    from base.core.fact_transactions
    group by from_address
    ),
    polygon_new as (
    select min(block_timestamp::date) as date, from_address
    from polygon.core.fact_transactions
    group by from_address
    ),
    optimism_new as (
    select min(block_timestamp::date) as date, from_address
    from optimism.core.fact_transactions
    group by from_address
    ),
    arbitrum_new as (
    select min(block_timestamp::date) as date, from_address
    from arbitrum.core.fact_transactions
    group by from_address
    ),
    ethereum_new as (
    select min(block_timestamp::date) as date, from_address
    from ethereum.core.fact_transactions
    group by from_address
    )

    select
    'Avalanche' as blockchain,
    trunc(date, 'day') as weekly,
    count(distinct from_address) as "New Users",
    QueryRunArchived: QueryRun has been archived