Updated 2025-01-21
    with main as (
    select
    tx_id,
    block_timestamp,
    signers[0] as user,
    fee/1e9 as fee
    from
    eclipse.core.fact_transactions
    where
    succeeded
    )

    select
    count(distinct tx_id) as transactions,
    count(distinct user) as users,
    sum(fee) as volume_fee,
    avg(fee) as average_fee,
    transactions / count(distinct block_timestamp::date) as daily_average_transactions,
    users / count(distinct block_timestamp::date) as daily_average_users
    from
    main
    QueryRunArchived: QueryRun has been archived