Query editor
SELECTdate_trunc('month', transactions.block_date) As dt,COUNT(DISTINCT tx_hash) AS transactions,SUM(gas_used*(gas_price/power(10, 18))) AS total_tx_fee,AVG(gas_used*(gas_price/power(10, 18))) AS avg_tx_feeFROM dex.trades tradesJOIN ethereum.transactions transactionson hash = tx_hashWHERE blockchain = 'ethereum'and project = 'uniswap'GROUP BY 1ORDER BY 1