feyikemi$PYR Users Growth
    Updated 2025-04-07
    with new_addresses AS
    (SELECT
    from_address,
    min(block_timestamp) as first_tx_timestamp
    FROM
    ethereum.core.fact_token_transfers
    WHERE
    contract_address = '0x430ef9263e76dae63c84292c3409d61c598e9682' -- $PYR Contract Address
    GROUP by from_address
    HAVING first_tx_timestamp >= '2024-01-01'
    )

    SELECT
    date_trunc('day', first_tx_timestamp) as Date,
    'New Users' as type,
    count(from_address) as n_addresses
    FROM
    new_addresses
    GROUP BY Date, type

    UNION ALL

    SELECT
    date_trunc('Day', block_timestamp) as Date,
    'Returning Users' as type,
    count(DISTINCT from_address) as n_addresses
    FROM
    ethereum.core.fact_token_transfers
    WHERE
    contract_address = '0x430ef9263e76dae63c84292c3409d61c598e9682' -- $PYR Contract Address
    AND Date >= '2024-01-01'
    GROUP BY Date
    Last run: 2 months ago
    DATE
    TYPE
    N_ADDRESSES
    1
    2024-03-24 00:00:00.000New Users68
    2
    2025-03-15 00:00:00.000New Users9
    3
    2024-02-05 00:00:00.000New Users32
    4
    2024-03-23 00:00:00.000New Users69
    5
    2024-10-29 00:00:00.000New Users49
    6
    2024-08-04 00:00:00.000New Users34
    7
    2024-05-08 00:00:00.000New Users35
    8
    2024-11-25 00:00:00.000New Users73
    9
    2025-02-15 00:00:00.000New Users10
    10
    2025-03-19 00:00:00.000New Users7
    11
    2024-05-08 00:00:00.000Returning Users75
    12
    2025-03-15 00:00:00.000Returning Users25
    13
    2024-02-05 00:00:00.000Returning Users80
    14
    2024-11-25 00:00:00.000Returning Users144
    15
    2024-03-24 00:00:00.000Returning Users132
    16
    2024-08-04 00:00:00.000Returning Users97
    17
    2024-03-23 00:00:00.000Returning Users130
    18
    2025-03-19 00:00:00.000Returning Users49
    19
    2025-02-15 00:00:00.000Returning Users38
    20
    2024-10-29 00:00:00.000Returning Users90
    ...
    926
    42KB
    45s