adriaparcerisasflow users vs l2
    Updated 14 hours 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: about 14 hours ago
    DATE
    CHAIN
    ACTIVE_USERS
    NEW_USERS
    1
    2025-04-06 00:00:00.000Arbitrum21927386985
    2
    2025-04-06 00:00:00.000Base816109381032
    3
    2025-04-06 00:00:00.000Flow252023948
    4
    2025-04-06 00:00:00.000Mantle1961310494
    5
    2025-04-06 00:00:00.000Optimism5285910083
    6
    2025-04-05 00:00:00.000Arbitrum21091196046
    7
    2025-04-05 00:00:00.000Base680722448026
    8
    2025-04-05 00:00:00.000Flow187913099
    9
    2025-04-05 00:00:00.000Mantle2273611331
    10
    2025-04-05 00:00:00.000Optimism5348412477
    11
    2025-04-04 00:00:00.000Arbitrum22222695027
    12
    2025-04-04 00:00:00.000Base888509393457
    13
    2025-04-04 00:00:00.000Flow231274457
    14
    2025-04-04 00:00:00.000Mantle2052610198
    15
    2025-04-04 00:00:00.000Optimism5306410992
    16
    2025-04-03 00:00:00.000Arbitrum272293126522
    17
    2025-04-03 00:00:00.000Base1144076509735
    18
    2025-04-03 00:00:00.000Flow242964762
    19
    2025-04-03 00:00:00.000Mantle173056045
    20
    2025-04-03 00:00:00.000Optimism6045315193
    ...
    480
    23KB
    251s