pietrektNew Addresses daily and cumulative
    Updated 22 hours ago
    WITH
    transactions AS (
    SELECT
    to_address as address,
    to_date(block_timestamp) as date
    FROM
    thorchain.core.fact_transfer_events
    UNION ALL
    SELECT
    from_address as address,
    to_date(block_timestamp) as date
    FROM
    thorchain.core.fact_transfer_events
    ),
    address_first_day AS (
    SELECT
    address,
    MIN(date) as date
    FROM
    transactions
    GROUP BY
    address
    ORDER BY
    date,
    address
    ),
    dates AS (
    SELECT DISTINCT
    date,
    0 as address_count_change
    FROM
    transactions
    ),
    address_count_per_day AS (
    SELECT
    date,
    Last run: about 22 hours agoAuto-refreshes every 24 hours
    DAY
    NEW_ADDRESSES
    NEW_ADDRESSES_CUMULATIVE
    1
    2025-04-18 00:00:00.0006131620
    2
    2025-04-17 00:00:00.000113131614
    3
    2025-04-16 00:00:00.000110131501
    4
    2025-04-15 00:00:00.000137131391
    5
    2025-04-14 00:00:00.000113131254
    6
    2025-04-13 00:00:00.000123131141
    7
    2025-04-12 00:00:00.000173131018
    8
    2025-04-11 00:00:00.000145130845
    9
    2025-04-10 00:00:00.000211130700
    10
    2025-04-09 00:00:00.000230130489
    11
    2025-04-08 00:00:00.000298130259
    12
    2025-04-07 00:00:00.000408129961
    13
    2025-04-06 00:00:00.000540129553
    14
    2025-04-05 00:00:00.000428129013
    15
    2025-04-04 00:00:00.00039128585
    16
    2025-04-03 00:00:00.00057128546
    17
    2025-04-02 00:00:00.00054128489
    18
    2025-04-01 00:00:00.00075128435
    19
    2025-03-31 00:00:00.00054128360
    20
    2025-03-30 00:00:00.00035128306
    ...
    1447
    53KB
    7s