lanoGas Fee Burned by Capybara
    Updated 2024-11-06
    with fee as (
    SELECT tx.tx_hash, tx.effective_gas_price as price, tr.gas_used as gas
    FROM kaia.core.fact_traces tr left join kaia.core.fact_transactions tx
    on tr.tx_hash = tx.tx_hash
    where tr.to_address IN (
    '0x8a5562d2a17488647381c1a0e9cf527a01b6f3bd',
    '0xa856b5da8e85b23395c17783954edda010317fce',
    '0xab4fc22974eacc7f3a18fa89fef5a5f9030275d7',
    '0x2948f932a2a841b91cf74114f5e58b454201e914',
    '0x3ce1aa52eeaf57a355939c09ac76f03f01988f13'

    ) OR tr.from_address IN (
    '0x8a5562d2a17488647381c1a0e9cf527a01b6f3bd',
    '0xa856b5da8e85b23395c17783954edda010317fce',
    '0xab4fc22974eacc7f3a18fa89fef5a5f9030275d7',
    '0x2948f932a2a841b91cf74114f5e58b454201e914',
    '0x3ce1aa52eeaf57a355939c09ac76f03f01988f13'
    )
    )

    select sum(price*gas/1e9) as "Capybara Gas Fee Burned"
    from fee
    QueryRunArchived: QueryRun has been archived