adriaparcerisasflow users vs l2
    Updated 2025-04-28
    WITH flow_stats AS (
    WITH news AS (
    SELECT
    DISTINCT CAST(value AS VARCHAR) AS users,
    MIN(trunc(b.block_timestamp, 'day')) AS debut
    FROM
    flow.core.ez_transaction_actors AS b,
    LATERAL FLATTEN(INPUT => b.actors) AS a
    GROUP BY 1

    UNION ALL

    SELECT
    DISTINCT from_address AS users,
    MIN(trunc(block_timestamp, 'day')) AS debut
    FROM
    flow.core_evm.fact_transactions
    GROUP BY 1
    ),
    news2 AS (
    SELECT
    debut,
    COUNT(DISTINCT users) AS new_users
    FROM news
    GROUP BY debut
    ),
    actives AS (
    SELECT
    trunc(b.block_timestamp, 'day') AS week,
    COUNT(DISTINCT CAST(value AS VARCHAR)) AS active_users
    FROM
    flow.core.ez_transaction_actors AS b,
    LATERAL FLATTEN(INPUT => b.actors) AS a
    GROUP BY 1

    UNION ALL
    Last run: 14 days ago
    DATE
    CHAIN
    ACTIVE_USERS
    NEW_USERS
    1
    2025-04-27 00:00:00.000Arbitrum21425088389
    2
    2025-04-27 00:00:00.000Base1050508528011
    3
    2025-04-27 00:00:00.000Flow3243616055
    4
    2025-04-27 00:00:00.000Mantle109082462
    5
    2025-04-27 00:00:00.000Optimism12218853411
    6
    2025-04-26 00:00:00.000Arbitrum17543451951
    7
    2025-04-26 00:00:00.000Base1078377535625
    8
    2025-04-26 00:00:00.000Flow3778420246
    9
    2025-04-26 00:00:00.000Mantle122242649
    10
    2025-04-26 00:00:00.000Optimism11759146332
    11
    2025-04-25 00:00:00.000Arbitrum23160763171
    12
    2025-04-25 00:00:00.000Base834803473129
    13
    2025-04-25 00:00:00.000Flow2922011684
    14
    2025-04-25 00:00:00.000Mantle105861951
    15
    2025-04-25 00:00:00.000Optimism16295079109
    16
    2025-04-24 00:00:00.000Arbitrum19991356677
    17
    2025-04-24 00:00:00.000Base1012957528220
    18
    2025-04-24 00:00:00.000Flow243194190
    19
    2025-04-24 00:00:00.000Mantle127941469
    20
    2025-04-24 00:00:00.000Optimism9879233363
    ...
    585
    28KB
    838s