adriaparcerisasdau sei transfers
    Updated 2024-02-20

    WITH
    daus as (
    SELECT
    distinct sender as users,
    trunc(block_timestamp,'week') as weeks,
    count(distinct trunc(block_timestamp,'day')) as active_days
    from sei.core.fact_transfers
    group by 1,2
    having active_days>=4
    ),
    active_users as (
    SELECT
    trunc(block_timestamp,'week') as date,
    case when sender in (select users from daus) then 'DAU'
    else 'No DAU' end as type,
    count(distinct sender) as n_users,
    count(distinct tx_id) as txs
    from sei.core.fact_transfers
    where tx_succeeded=TRUE
    group by 1,2
    )
    select * from active_users
    where date<current_date
    order by 1 asc





    Last run: about 1 year ago
    DATE
    TYPE
    N_USERS
    TXS
    1
    2023-05-22 00:00:00.000DAU10102
    2
    2023-05-22 00:00:00.000No DAU3890
    3
    2023-05-29 00:00:00.000DAU847
    4
    2023-05-29 00:00:00.000No DAU27154
    5
    2023-06-05 00:00:00.000DAU840
    6
    2023-06-05 00:00:00.000No DAU619
    7
    2023-06-12 00:00:00.000DAU822
    8
    2023-06-12 00:00:00.000No DAU523
    9
    2023-06-19 00:00:00.000No DAU36
    10
    2023-06-19 00:00:00.000DAU513
    11
    2023-06-26 00:00:00.000No DAU814
    12
    2023-06-26 00:00:00.000DAU318
    13
    2023-07-03 00:00:00.000DAU312
    14
    2023-07-03 00:00:00.000No DAU23
    15
    2023-07-10 00:00:00.000No DAU36
    16
    2023-07-10 00:00:00.000DAU520
    17
    2023-07-17 00:00:00.000DAU623
    18
    2023-07-17 00:00:00.000No DAU12
    19
    2023-07-24 00:00:00.000DAU518
    20
    2023-07-31 00:00:00.000DAU14133
    79
    3KB
    29s