omer93sei transactions bo 3
    Updated 2025-03-24
    WITH
    weekly_data AS (
    SELECT distinct tx_from as new_user,
    min(DATE_TRUNC('week', block_timestamp::DATE)) AS week_start
    FROM sei.core.fact_transactions
    WHERE block_timestamp::DATE >= '2023-08-15'
    AND tx_from NOT IN (SELECT address FROM sei.core.dim_labels)
    AND tx_id NOT IN (
    SELECT DISTINCT tx_id
    FROM sei.core.fact_transactions
    WHERE fee = '0usei'
    AND block_timestamp::DATE >= '2023-08-15'
    )
    AND tx_succeeded = 'TRUE'
    GROUP BY 1

    UNION

    SELECT distinct from_address as new_user,
    min(DATE_TRUNC('week', block_timestamp::DATE)) AS week_start
    FROM sei.core_evm.fact_transactions
    GROUP BY 1
    )
    SELECT
    week_start,
    count(distinct new_user) as new_users,
    sum(new_users) over (order by week_start) as total_users
    from weekly_data where week_start < trunc(current_date,'week')
    group by 1 order by 1 desc


    Last run: 28 days ago
    WEEK_START
    NEW_USERS
    TOTAL_USERS
    1
    2025-03-17 00:00:00.00035355116280996
    2
    2025-03-10 00:00:00.00043798915927445
    3
    2025-03-03 00:00:00.00040893515489456
    4
    2025-02-24 00:00:00.00019536215080521
    5
    2025-02-17 00:00:00.00027896514885159
    6
    2025-02-10 00:00:00.00061985214606194
    7
    2025-02-03 00:00:00.00055378413986342
    8
    2025-01-27 00:00:00.00056073513432558
    9
    2025-01-20 00:00:00.00086639312871823
    10
    2025-01-13 00:00:00.000104133412005430
    11
    2025-01-06 00:00:00.00073743210964096
    12
    2024-12-30 00:00:00.000143377710226664
    13
    2024-12-23 00:00:00.00020965878792887
    14
    2024-12-16 00:00:00.0009249696696300
    15
    2024-12-09 00:00:00.0004461115771331
    16
    2024-12-02 00:00:00.0007152535325220
    17
    2024-11-25 00:00:00.0007758714609967
    18
    2024-11-18 00:00:00.0004961613834096
    19
    2024-11-11 00:00:00.0003149673337935
    20
    2024-11-04 00:00:00.000880783022968
    84
    3KB
    583s