Afonso_DiazTotal (users and txns)
    Updated 4 days ago
    with

    main as (
    select
    tx_id,
    block_timestamp,
    f.value['value'] as user
    from
    aleo.core.fact_transitions
    join
    lateral flatten(input => inputs) f
    where
    f.value['value'] ilike 'aleo%'
    )

    select
    count(distinct tx_id) as transactions,
    count(distinct user) as users,
    transactions / count(distinct block_timestamp::date) as daily_average_transactions,
    users / count(distinct block_timestamp::date) as daily_average_users
    from
    main
    Last run: 4 days ago
    TRANSACTIONS
    USERS
    DAILY_AVERAGE_TRANSACTIONS
    DAILY_AVERAGE_USERS
    1
    18997067265654478826.00414911023.004149
    1
    46B
    19s