sagharkariNew Users Trend - Last 30 Days
    Updated 2025-03-21
    WITH user_first_tx AS (
    SELECT
    FROM_ADDRESS,
    BLOCK_TIMESTAMP AS first_interaction
    FROM (
    SELECT
    FROM_ADDRESS,
    BLOCK_TIMESTAMP,
    ROW_NUMBER() OVER (
    PARTITION BY FROM_ADDRESS
    ORDER BY BLOCK_TIMESTAMP
    ) AS row_num
    FROM
    monad.testnet.fact_transactions
    ) ranked_tx
    WHERE row_num = 1
    AND BLOCK_TIMESTAMP >= DATEADD(DAY, -30, CURRENT_DATE)
    )
    SELECT
    DATE_TRUNC('DAY', first_interaction) AS signup_date,
    COUNT(*) AS new_users,
    SUM(new_users) OVER (
    ORDER BY signup_date ASC
    ) AS cumulative_new_users
    FROM user_first_tx
    GROUP BY 1;

    Last run: about 1 month ago
    SIGNUP_DATE
    NEW_USERS
    CUMULATIVE_NEW_USERS
    1
    2025-03-14 00:00:00.000146604213715064
    2
    2025-03-02 00:00:00.0001896524526593
    3
    2025-03-19 00:00:00.000332983429083825
    4
    2025-03-15 00:00:00.000276888316483947
    5
    2025-03-17 00:00:00.000294316522403040
    6
    2025-03-04 00:00:00.0005048915336812
    7
    2025-03-05 00:00:00.0006452005982012
    8
    2025-02-20 00:00:00.000222148347009
    9
    2025-03-12 00:00:00.000186670910540993
    10
    2025-02-26 00:00:00.00012407633412961
    11
    2025-03-07 00:00:00.0005468937013480
    12
    2025-03-18 00:00:00.000335095125753991
    13
    2025-02-19 00:00:00.000124861124861
    14
    2025-03-11 00:00:00.0007155168674284
    15
    2025-03-06 00:00:00.0004845756466587
    16
    2025-03-08 00:00:00.0004135037426983
    17
    2025-03-01 00:00:00.0002498874336941
    18
    2025-03-20 00:00:00.000469893833782763
    19
    2025-02-23 00:00:00.0002748351176110
    20
    2025-03-03 00:00:00.0003053284831921
    31
    1KB
    18s