hessdistinguished-green
    Updated 2025-03-30
    with users as ( select block_timestamp,
    tx_id,
    attribute_value as address
    from sei.core.fact_msg_attributes
    where attribute_key in ('sender','fee_payer')
    and tx_id not in (select tx_id from sei.core.fact_transactions where fee = '0usei')
    and block_timestamp::Date >= current_date - 90
    UNION
    select block_timestamp,
    tx_id,
    TX_FROM as address
    from sei.core.fact_transactions
    where fee != '0usei'
    and block_timestamp::Date >= current_date - 90
    UNION
    select block_timestamp,
    tx_hash as tx_id,
    from_address as address
    from sei.core_evm.fact_transactions
    where block_timestamp::Date >= current_date - 90
    )

    select
    case
    when extract(dow from block_timestamp) = 0 then '7. Sunday'
    when extract(dow from block_timestamp) = 1 then '1. Monday'
    when extract(dow from block_timestamp) = 2 then '2. Tuesday'
    when extract(dow from block_timestamp) = 3 then '3. Wednesday'
    when extract(dow from block_timestamp) = 4 then '4. Thursday'
    when extract(dow from block_timestamp) = 5 then '5. Friday'
    when extract(dow from block_timestamp) = 6 then '6. Saturday'
    end as "Day",
    date_part(hour, block_timestamp) as "Hour",
    count(distinct address) as "users",
    count(DISTINCT tx_id) as "Transactions"
    from users
    Last run: 28 days ago
    Day
    Hour
    users
    Transactions
    1
    7. Sunday0108677260470
    2
    4. Thursday0133453302801
    3
    6. Saturday0115458270233
    4
    5. Friday0126881307436
    5
    3. Wednesday0129318276176
    6
    2. Tuesday0126358305539
    7
    1. Monday0122499308438
    8
    7. Sunday1118824257465
    9
    6. Saturday1121690264106
    10
    3. Wednesday1141072294712
    11
    1. Monday1135187306997
    12
    4. Thursday1146595308849
    13
    5. Friday1142141323110
    14
    2. Tuesday1142027331773
    15
    6. Saturday2133907279142
    16
    7. Sunday2133598275589
    17
    5. Friday2157357330695
    18
    1. Monday2140272311525
    19
    2. Tuesday2154691334991
    20
    4. Thursday2149874312744
    ...
    168
    5KB
    594s