Flipside Axelar Analyststransfer RETENTION
    Updated 6 days ago
    with base as (
    select
    SENDER_ADDRESS as TX_SIGNER,
    min(date_trunc('month', created_at)) over (partition by TX_SIGNER) as signup_date,
    date_trunc('month', created_at) as activity_date,
    datediff('month', signup_date, activity_date) as difference
    from axelar.axelscan.fact_transfers
    where status='executed' AND SIMPLIFIED_STATUS='received' and link is not null and SEND_AMOUNT_RECEIVED is not null
    and send_fee is not null and destination_chain is not null) ,
    unp as (
    select
    TO_VARCHAR(signup_date, 'yyyy-MM') as cohort_date,
    difference as months,
    count (distinct TX_SIGNER) as users
    from
    base
    where
    datediff('month', signup_date, current_date()) <= 12
    group by
    1,2
    order by
    1
    ),
    fine as (
    select
    u.*,
    p.USERS as user0
    from
    unp u
    left join unp p on u.COHORT_DATE = p.COHORT_DATE
    where
    p.MONTHS = 0
    )
    select
    COHORT_DATE,
    MONTHS,
    Last run: 6 days ago
    COHORT_DATE
    MONTHS
    RETENTION_RATE
    1
    2025-0510.75
    2
    2025-0412.75
    3
    2025-0420.85
    4
    2025-0315.6
    5
    2025-0323.83
    6
    2025-0331.18
    7
    2025-0212.95
    8
    2025-0221.61
    9
    2025-0231.61
    10
    2025-0240.54
    11
    2025-0113.31
    12
    2025-0121.55
    13
    2025-0131.55
    14
    2025-0141.1
    15
    2025-0150.88
    16
    2024-1214.38
    17
    2024-1223.13
    18
    2024-1230.94
    19
    2024-1241.25
    20
    2024-1251.1
    78
    1KB
    47s