Query editor
select date_trunc('month', t.block_time) as day,coalesce(b.bot, 'non TG-bot Txs') as router,avg(gas_price/1e9) as gas_price_gwei-- sum(case when success = false then 1 else 0 end) / count(*) as revert_ratefrom base.transactions tleft join dune.unibot.result_dex_trading_bot_trades b on t.hash = from_hex(b.tx_hash) and blockchain = 'Base'where t.block_date > date('2024-03-01')and success = truegroup by 1, 2order by 3 desc