GetstanUAW Users Retention
    Updated 4 days ago
    WITH base AS (
    SELECT
    DATE(e.BLOCK_TIMESTAMP) AS date,
    e.tx_hash AS txn
    FROM aptos.core.fact_events e
    WHERE e.ACCOUNT_ADDRESS IN ('0x34ca84470e8d2907562f9a2f144c6c780282953b8b025ba220b0ecc5fc0aead9')
    AND e.EVENT_TYPE = '0x1::coin::DepositEvent'
    AND DATE(e.BLOCK_TIMESTAMP) >= CURRENT_DATE() - 34
    ),

    sender_first_txn AS (
    SELECT
    SENDER,
    MIN(DATE(BLOCK_TIMESTAMP)) AS first_txn_date
    FROM aptos.core.fact_transactions
    GROUP BY SENDER
    ),

    retention AS (
    SELECT
    sft.SENDER,
    sft.first_txn_date AS d0,
    DATEADD(DAY, 1, sft.first_txn_date) AS d1,
    DATEADD(DAY, 3, sft.first_txn_date) AS d3,
    DATEADD(DAY, 7, sft.first_txn_date) AS d7,
    DATEADD(DAY, 15, sft.first_txn_date) AS d15,
    DATEADD(DAY, 30, sft.first_txn_date) AS d30
    FROM aptos.core.fact_transactions t
    left join sender_first_txn sft on sft.SENDER=t.SENDER
    ),

    activity AS (
    SELECT
    t.SENDER,
    DATE(t.BLOCK_TIMESTAMP) AS activity_date
    FROM aptos.core.fact_transactions t
    Last run: 4 days ago
    SIGNUP_DATE
    D0_RETENTION
    D1_RETENTION
    D3_RETENTION
    D7_RETENTION
    D15_RETENTION
    D30_RETENTION
    1
    2025-03-19 00:00:00.0005269299123939199010650
    2
    2025-03-20 00:00:00.00056955114264419239311720
    3
    2025-03-21 00:00:00.00048696985240372459114451
    4
    2025-03-22 00:00:00.000410398408358219081002639
    5
    2025-03-23 00:00:00.00039520809333711725960183
    6
    2025-03-24 00:00:00.0004162087773769173710310
    7
    2025-03-25 00:00:00.0004290289374053199011400
    8
    2025-03-26 00:00:00.0004958599963941188211290
    9
    2025-03-27 00:00:00.00061987124514493237713010
    10
    2025-03-28 00:00:00.0004575897503646188310020
    11
    2025-03-29 00:00:00.0004559193034035197811010
    12
    2025-03-30 00:00:00.0004456088133780193111990
    13
    2025-03-31 00:00:00.0004092987503453183210470
    14
    2025-04-01 00:00:00.000389938167318716049570
    15
    2025-04-02 00:00:00.000407598319343319272330
    16
    2025-04-03 00:00:00.0004369790283478200000
    17
    2025-04-04 00:00:00.0003958482713341180500
    18
    2025-04-05 00:00:00.00042614891536091824910
    19
    2025-04-06 00:00:00.0004535092813953200612280
    20
    2025-04-07 00:00:00.000386428128326117662770
    35
    2KB
    286s