Query editor
withsearcher_transactions as (selectfrom_hex(CAST(json_extract(transactions, '$[1].hash') AS VARCHAR)) as searcher_tx,max(from_hex(CAST(json_extract_scalar(transactions, '$[1].from') AS VARCHAR))) as searcher_address,max(from_hex(CAST(json_extract_scalar(transactions, '$[1].to') AS VARCHAR))) as searcher_contract,min(timestamp) as requested_timefrom mevblocker.raw_bundleswhere json_array_length(transactions) > 1group by 1)SELECT searcher_contract,count(distinct searcher_address) as searcher_sender_ct,count(searcher_tx) as backrun_tx_ct,count(distinct case when t.hash is not null then searcher_tx else null end) as successful_backrun_ct,1.0000 * count(distinct case when t.hash is not null then searcher_tx else null end) / count(searcher_tx) as backrun_landing_ratefrom searcher_transactionsleft join ethereum.transactions t on searcher_tx = t.hashgroup by 1order by 4 desc