datavortexTotal Fees
    Updated 2025-04-10
    WITH open_trove AS (
    SELECT
    tx_hash
    FROM
    mezo.testnet.fact_event_logs
    WHERE
    topics[0] = '0xf575eb5cdee005607f56587351e18943ddacd11756b9d37980ec251797ff136c'
    AND origin_function_signature = '0x8f09162b'
    AND contract_address = '0x20faea18b6a1d0fcdbccfffe3d164314744baf30'
    ),

    adjust_trove AS (
    SELECT
    tx_hash
    FROM
    mezo.testnet.fact_event_logs
    WHERE
    topics[0] = '0xf575eb5cdee005607f56587351e18943ddacd11756b9d37980ec251797ff136c'
    AND origin_function_signature = '0x8e54c119'
    AND contract_address = '0x20faea18b6a1d0fcdbccfffe3d164314744baf30'
    ),

    combined AS (
    SELECT
    o.tx_hash
    FROM open_trove o
    LEFT JOIN adjust_trove a
    ON o.tx_hash = a.tx_hash
    UNION ALL
    SELECT
    a.tx_hash
    FROM adjust_trove a
    )

    SELECT
    SUM(t.TX_FEE_PRECISE) AS total_tx_fees,
    Last run: 25 days ago
    TOTAL_TX_FEES
    AVG_TX_FEES
    1
    0.0091836325550.000002359011702
    1
    36B
    3s