Updated 2025-04-06
    with

    main as (
    select
    tx_hash,
    block_timestamp,
    from_address as user
    from
    swell.core.fact_transactions
    where
    tx_succeeded
    )

    select
    count(distinct tx_hash) as transactions,
    count(distinct user) as users,
    transactions / users as transactions_per_user,
    users / count(distinct block_timestamp::date) as daily_users
    from
    main
    QueryRunArchived: QueryRun has been archived