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 date_trunc('day', from_unixtime(requested_time / 1000.0)) as day,count(searcher_tx) as backrun_submitted_ct,count(distinct searcher_address) as searcher_eoa_ct,count(distinct searcher_contract) as searcher_contract_ct,count(case when t.hash is not null then searcher_tx else null end) as backrun_landed_ct,count(distinct case when t.hash is not null then searcher_address else null end) as successful_searcher_eoa,count(distinct case when t.hash is not null then searcher_contract else null end) as successful_searcher_contract,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