Query editor
SELECTdate_trunc('day', t.block_time) AS day,SUM(t.gas_used * t.gas_price / 1e18) AS daily_tx_cost_eth,SUM((t.gas_used * t.gas_price / 1e18) * p.price) AS daily_tx_cost_usdFROMethereum.logs lJOIN ethereum.transactions t ON l.tx_hash = t.hashJOIN prices.usd p ON date_trunc('minute', t.block_time) = date_trunc('minute', p.minute)AND p.symbol = 'WETH'AND p.blockchain = 'ethereum'WHEREl.contract_address = 0x65E325A22c0F519041db69F5693EbAc3b4AE71bEAND l.block_number >= 20019964AND l.topic0 = 0xa37f9fb2f8e66e6e5746e84c33d55fc62d920182d22358f2adc6855d3ac4d437GROUP BYdate_trunc('day', t.block_time)ORDER BYday;