adriaparcerisasflow users vs l2
    Updated 4 days ago
    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: 4 days ago
    DATE
    CHAIN
    ACTIVE_USERS
    NEW_USERS
    1
    2025-05-25 00:00:00.000Arbitrum28790494563
    2
    2025-05-25 00:00:00.000Base1543536833530
    3
    2025-05-25 00:00:00.000Flow246843271
    4
    2025-05-25 00:00:00.000Mantle100971420
    5
    2025-05-25 00:00:00.000Optimism14020874175
    6
    2025-05-24 00:00:00.000Arbitrum24657874134
    7
    2025-05-24 00:00:00.000Base1621898852874
    8
    2025-05-24 00:00:00.000Flow9329868143
    9
    2025-05-24 00:00:00.000Mantle74101250
    10
    2025-05-24 00:00:00.000Optimism12802150066
    11
    2025-05-23 00:00:00.000Arbitrum25168657484
    12
    2025-05-23 00:00:00.000Base1619016888065
    13
    2025-05-23 00:00:00.000Flow7888054555
    14
    2025-05-23 00:00:00.000Mantle85811206
    15
    2025-05-23 00:00:00.000Optimism12350349951
    16
    2025-05-22 00:00:00.000Arbitrum25747569000
    17
    2025-05-22 00:00:00.000Base1379464892930
    18
    2025-05-22 00:00:00.000Flow319193483
    19
    2025-05-22 00:00:00.000Mantle109092823
    20
    2025-05-22 00:00:00.000Optimism11472043648
    ...
    725
    35KB
    784s