Query editor
SELECTproject,COUNT(DISTINCT trades.tx_hash) as transactions,SUM(gas_used*(gas_price/power(10, 18))) as toal_fee_usd,AVG(gas_used*(gas_price/power(10, 18))) as fee_avgFROM dex.trades tradesJOIN ethereum.transactions transactionsON hash = tx_hashWHERE blockchain = 'ethereum'GROUP BY 1