Query editor
WITHpriced_traces AS (SELECTtc.block_date,tx.gas_used,tx.gas_price,(tx.gas_used * tx.gas_price * POWER(10, -18)) AS gas_paid_in_ethFROMarbitrum.traces tcJOIN arbitrum.transactions tx ON tc.tx_hash = tx.hashWHEREtc.to = 0xff1a0f4744e8582df1ae09d5611b887b6a12925cAND tc.block_date <= (NOW() - INTERVAL '1' DAY)AND tc.value > 0AND tc.success)SELECTSUM(gas_paid_in_eth) AS gas_paid_in_ethFROMpriced_traces