Query editor
select block_date,case when m.router is not null then 'bot alike contracts' else 'others' end as label,1.0000*sum(case when success = false then 1 else 0 end)/ count(*) as revert_ratefrom base.transactions tleft join dune.flashbots.result_base_bot_alike_contracts m on m.router = t."to"where block_date > date('2024-03-10')group by 1, 2