Query editor
selectt.block_time,t.hash as tx_hash,t."to" as contract_address,case when bytearray_substring(t.data, 1, 4) = 0x18c9c56ethen 'v2' else 'v1' end as version,bytearray_substring(t.data, 17, 20) as pool_a,bytearray_to_uint256(bytearray_substring(t.data, 37, 32)) as type_a,bytearray_substring(t.data, 81, 20) as pool_b,bytearray_to_uint256(bytearray_substring(t.data, 101, 32)) as type_b,bytearray_substring(t.data, 145, 20) as token_in,bytearray_substring(t.data, 177, 20) as token_mid,bytearray_to_uint256(bytearray_substring(t.data, 197, 32)) as min_profit_raw,bytearray_to_uint256(bytearray_substring(t.data, 229, 32)) as tip_bps,t.gas_used,t.gas_price,(t.gas_used * t.gas_price) / 1e18 as gas_cost_eth,t.successfrom ethereum.transactions twhere t."to" in (0x7933506cfd0ae3207c0a09c34d505c3bcf7f176d,0x47696d73aa6b0f5fa76e220c00251aa0750009a5)and t.block_time >= timestamp '2026-04-01' -- both contracts deployed after thisand bytearray_substring(t.data, 1, 4) in (0x18c9c56e, 0xd34406f3)order by t.block_time desc