BlockTracker txns -- avg(tx_fee)
    Updated 2025-04-06
    select
    date_trunc('day', BLOCK_TIMESTAMP) as date,
    'ink' as blockchain,
    count(BLOCK_NUMBER) as n_blocks,
    count(DISTINCT tx_hash) as n_transaction,
    count(DISTINCT case when TX_SUCCEEDED = 'TRUE' then tx_hash end) as TRANSACTION_COUNT_SUCCESS_,
    count(DISTINCT case when TX_SUCCEEDED = 'FALSE' then tx_hash end) as TRANSACTION_COUNT_FAILED_,
    TRANSACTION_COUNT_SUCCESS_ / (TRANSACTION_COUNT_SUCCESS_ + TRANSACTION_COUNT_FAILED_) as success_rate,
    count(DISTINCT from_address) as n_active_users,
    sum(tx_fee * b.price) as total_fee_usd,
    sum(tx_fee * b.price) / count(DISTINCT tx_hash) as average_fee_usd
    from ink.core.fact_transactions a
    left join (
    select
    date_trunc('day', hour) as date,
    median(price) as price
    from crosschain.price.ez_prices_hourly
    where blockchain = 'ethereum'
    and is_native = 'TRUE'
    group by 1
    order by date desc
    ) b ON date_trunc('day', block_timestamp) = b.date
    where date >= '2024-12-15'
    and date < current_date
    group by 1 , 2
    order by date desc

    -- #7132F5

    Last run: 19 days ago
    DATE
    BLOCKCHAIN
    N_BLOCKS
    N_TRANSACTION
    TRANSACTION_COUNT_SUCCESS_
    TRANSACTION_COUNT_FAILED_
    SUCCESS_RATE
    N_ACTIVE_USERS
    TOTAL_FEE_USD
    AVERAGE_FEE_USD
    1
    2025-04-05 00:00:00.000ink370046370046335787342590.9074295546773.670307590.002090740901
    2
    2025-04-04 00:00:00.000ink407014407014375652313620.922946155015842.5764740180.002070141258
    3
    2025-04-03 00:00:00.000ink38727738727737953277450.980001145939894.6273639530.002310045172
    4
    2025-04-02 00:00:00.000ink39193539193538798839470.9899291548951701.3539775930.004340908512
    5
    2025-04-01 00:00:00.000ink387658387658356975306830.920851557072038.5440035210.005258614561
    6
    2025-03-31 00:00:00.000ink30628730628730354527420.991048940101134.3729038740.00370362733
    7
    2025-03-30 00:00:00.000ink392128392128365876262520.933052152720663.9268064830.001693137971
    8
    2025-03-29 00:00:00.000ink362963362963345272176910.951259147301501.0720108890.001380504379
    9
    2025-03-28 00:00:00.000ink29959029959029466849220.983571102092731.061402020.002440206289
    10
    2025-03-27 00:00:00.000ink341655341655331501101540.97028135561611.0162135980.001788401205
    11
    2025-03-26 00:00:00.000ink390916390916351458394580.899063157166602.7031545320.001541771517
    12
    2025-03-25 00:00:00.000ink321802321802281495403070.87474699061546.5674086130.001698458706
    13
    2025-03-24 00:00:00.000ink322961322961299901230600.92859897807761.4479938580.002357708807
    14
    2025-03-23 00:00:00.000ink280307280307253661266460.9049477096784.6518710120.002799258923
    15
    2025-03-22 00:00:00.000ink30783930783930410637330.98787498708580.0777830060.001884354429
    16
    2025-03-21 00:00:00.000ink316782316782296978198040.937484101219691.9784514440.002184399529
    17
    2025-03-20 00:00:00.000ink318647318647305936127110.96010987644703.1156134740.002206565929
    18
    2025-03-19 00:00:00.000ink392554392554362337302170.9230251514101140.0097302360.002904083846
    19
    2025-03-18 00:00:00.000ink354772354772295077596950.831737930521094.4277224510.003084876265
    20
    2025-03-17 00:00:00.000ink282067282067258591234760.91677292097659.7103714380.002338842798
    ...
    112
    11KB
    10s