Updated 2025-04-06
    select
    date_trunc('day', block_timestamp) as date,
    count(DISTINCT tx_hash) as txs,
    count(DISTINCT from_address) as users,
    round(sum(TX_FEE_PRECISE),3) as fee,
    round(count(case when TX_SUCCEEDED = 'TRUE' then TX_HASH end)/count(DISTINCT tx_hash),3) as success_rate,
    count(case when TX_SUCCEEDED = 'TRUE' then TX_HASH end) as succeeded,
    count(case when TX_SUCCEEDED != 'TRUE' then TX_HASH end) as failed
    --min(BLOCK_TIMESTAMP) as min_time,
    --max(BLOCK_TIMESTAMP) as max_time
    from ink.core.fact_transactions
    where block_timestamp >= '2024-12-17 11:00:00.000'
    group by 1
    order by 1 asc
    Last run: 22 days ago
    DATE
    TXS
    USERS
    FEE
    SUCCESS_RATE
    SUCCEEDED
    FAILED
    1
    2024-12-17 00:00:00.0006175214400.2590.98961103649
    2
    2024-12-18 00:00:00.00012054642120.3170.9911194401106
    3
    2024-12-19 00:00:00.00011478165210.4680.996114274507
    4
    2024-12-20 00:00:00.00010304627620.240.997102750296
    5
    2024-12-21 00:00:00.0009908721240.0740.99698718369
    6
    2024-12-22 00:00:00.0009912821440.050.99698694434
    7
    2024-12-23 00:00:00.00010303330570.2270.998102789244
    8
    2024-12-24 00:00:00.00011450449000.3220.998114242262
    9
    2024-12-25 00:00:00.00011523945850.2190.99911514297
    10
    2024-12-26 00:00:00.00011723458460.3220.998117051183
    11
    2024-12-27 00:00:00.00010938641450.2680.999109257129
    12
    2024-12-28 00:00:00.00011442948860.3190.997114140289
    13
    2024-12-29 00:00:00.00011847558430.4170.994117732743
    14
    2024-12-30 00:00:00.00011489756740.4630.995114326571
    15
    2024-12-31 00:00:00.00012000372950.5420.995119414589
    16
    2025-01-01 00:00:00.00011651149550.1720.998116235276
    17
    2025-01-02 00:00:00.00010919444800.1560.997108854340
    18
    2025-01-03 00:00:00.00010996550320.2220.997109596369
    19
    2025-01-04 00:00:00.00012015157860.2040.997119807344
    20
    2025-01-05 00:00:00.00011489155930.2090.996114411480
    ...
    111
    7KB
    5s