Updated 2025-03-10
    WITH active_addresses_per_minute AS (
    SELECT
    DATE_TRUNC('minute', block_timestamp) AS minute,
    COUNT(DISTINCT from_address) AS active_addresses
    FROM MONAD.testnet.fact_transactions
    WHERE block_timestamp >= '2025-02-19 14:00:00' -- شروع از ۱۹ فوریه ساعت ۱۴:۰۰
    GROUP BY 1
    )
    SELECT
    minute,
    active_addresses,
    AVG(active_addresses) OVER (ORDER BY minute ROWS BETWEEN 29 PRECEDING AND CURRENT ROW) AS moving_avg_30min
    FROM active_addresses_per_minute
    ORDER BY minute DESC;

    Last run: 18 days ago
    MINUTE
    ACTIVE_ADDRESSES
    MOVING_AVG_30MIN
    1
    2025-03-16 07:35:00.00032076052.266
    2
    2025-03-16 07:34:00.00063786143.9
    3
    2025-03-16 07:33:00.00065596113.966
    4
    2025-03-16 07:32:00.00064026074.866
    5
    2025-03-16 07:31:00.00061656032.9
    6
    2025-03-16 07:30:00.00063826019.2
    7
    2025-03-16 07:29:00.00060006004.966
    8
    2025-03-16 07:28:00.00061035996.2
    9
    2025-03-16 07:27:00.00061185971.4
    10
    2025-03-16 07:26:00.00064805951.133
    11
    2025-03-16 07:25:00.00063035921.366
    12
    2025-03-16 07:24:00.00065445890.7
    13
    2025-03-16 07:23:00.00062955859.5
    14
    2025-03-16 07:22:00.00062095837.233
    15
    2025-03-16 07:21:00.00061505815.466
    16
    2025-03-16 07:20:00.00063865780.7
    17
    2025-03-16 07:19:00.00066485740.733
    18
    2025-03-16 07:18:00.00063315692.4
    19
    2025-03-16 07:17:00.00060945651.633
    20
    2025-03-16 07:16:00.00053375627.233
    ...
    35616
    1MB
    25s