rajsXen Hourly No of New Users
    Updated 2022-10-27
    with new_users AS
    (
    SELECT
    date_trunc('hour', date_joined) as date,
    count(from_address) as no_of_new_users
    FROM
    (
    SELECT
    from_address,
    min(block_timestamp) as date_joined
    from ethereum.core.fact_transactions
    where to_address = '0x06450dee7fd2fb8e39061434babcfc05599a6fb8'
    and origin_function_signature = '0x9ff054df'
    and status = 'SUCCESS'
    group by 1
    )
    group by 1
    )

    SELECT
    *,
    sum(no_of_new_users) over (order by date) as cum_no_of_users
    from new_users
    order by date
    Run a query to Download Data