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_address as searcher_eoa_ct,count(searcher_tx) as backrun_submitted_ct,count(distinct searcher_contract) as contract_ct,count(case when t.hash is not null then searcher_tx else null end) as backrun_landed_ct,1.0000*count(case when t.hash is not null then searcher_tx else null end)/ sum(count(case when t.hash is not null then searcher_tx else null end)) over (partition by 1 order by 1) as landed_backrun_share,count(distinct case when t.hash is not null then searcher_contract else null end) as successful_contracts,1.0000* count(case when t.hash is not null then searcher_tx else null end)/ count(searcher_tx) as bundle_landing_ratefrom searcher_transactionsleft join ethereum.transactions t on searcher_tx = t.hashgroup by 1 order by 4 desc