0xHaM-din Total
    Updated 2025-03-25
    -- select
    -- count(DISTINCT TX_ID) as "Transactions",
    -- count(distinct SIGNERS[0]) as "AUs",
    -- sum(fee/1e9) as "Fees",
    -- from eclipse.core.fact_transactions

    -- froked from https://flipsidecrypto.xyz/flipsideteam/q/K0tC4Z2TBOwg/1.1.-tx-fees-all-time

    with eth_daily_price AS (
    select
    date_trunc('day', hour) as day_,
    avg(price) as eth_day_price
    from ethereum.price.ez_prices_hourly
    where is_native = TRUE
    group by day_
    ),

    daily_priced AS (
    select d.day_,
    n_tx,
    n_succeeded,
    n_blocks,
    total_fees_eth,
    median_fee_eth,
    (total_fees_eth * p.eth_day_price) as total_fees_usd,
    (median_fee_eth * p.eth_day_price) as median_fees_usd,
    total_compute_units,
    total_compute_limit
    from
    datascience_public_misc.eclipse_analytics.daily_tx_stats d left join eth_daily_price p using (day_)
    )

    select
    sum(n_tx) as "Transactions"
    , (select count(signer_) from datascience_public_misc.eclipse_analytics.signer_first_timestamp) as "All-Time Signers"
    , sum(n_succeeded) as "Successful Transactions"
    Last run: 10 days ago
    Transactions
    All-Time Signers
    Successful Transactions
    Failed Transactions
    Fees
    Average Fee (ETH)
    Median Fee (ETH)
    Average Fee (USD)
    Median Fee (USD)
    Blocks Produced
    CU's Consumed
    CU's Limit
    CU's Limit %
    1
    1711187487310292771710129455710580316939.5702365.490749804e-85e-80.000150784360.000135849708324606393260582873277642109840920861759723.72
    1
    153B
    1s