Query editor
select d.project,round(sum((cast(e.gas_used as decimal) * cast(e.gas_price as decimal))/1e18), 2) as gas_paidfrom dex.trades d left join ethereum.transactions e on d.tx_hash = e.hashWHERE DATE_TRUNC('day', e.block_time) >= (NOW() - INTERVAL '1' DAY)group by d.projectorder by gas_paid desc