Query editor
SELECTdate_trunc('day', t.block_time) AS day,SUM((t.gas_used * gas_price + l1_gas_used * l1_gas_price * l1_fee_scalar) / 1e18) AS transaction_fees,SUM(t.value / 1e18) FILTER (WHERE tx_success = true) AS value_sent,SUM(SUM((t.gas_used * gas_price + l1_gas_used * l1_gas_price * l1_fee_scalar) / 1e18)) OVER (ORDER BY date_trunc('day', t.block_time)) AS cumulative_transaction_fees,SUM(SUM(t.value / 1e18) FILTER (WHERE tx_success = true)) OVER (ORDER BY date_trunc('day', t.block_time)) AS cumulative_value_sentFROM optimism.traces tJOIN optimism.transactions trON tx_hash = hashWHERE t.to = 0x48fbf0b7e6bdaa9d7452feb34507b2bddb148e54GROUP BY 1ORDER BY 1 ASC