Query editor
SELECTblock_time,block_number,tx_index,evt_index,project,version,concat('0x', lower(to_hex(tx_hash))) AS victim_hash,concat('0x', lower(to_hex(project_contract_address))) AS pool,concat('0x', lower(to_hex(token_sold_address))) AS token_in,concat('0x', lower(to_hex(token_bought_address))) AS token_out,concat('0x', lower(to_hex(tx_from))) AS tx_from,concat('0x', lower(to_hex(tx_to))) AS tx_to,CAST(token_sold_amount_raw AS VARCHAR) AS amount_in_raw,CAST(token_bought_amount_raw AS VARCHAR) AS amount_out_raw,COUNT(*) OVER () AS total_event_rowsFROM dex.sandwichedWHERE blockchain = 'ethereum'AND block_month IN (DATE '2026-11-01')AND block_time >= TIMESTAMP '2026-11-27 12:13:34'AND block_time < TIMESTAMP '2026-11-29 12:13:34'AND block_number BETWEEN 26506468 AND 26520837AND project = 'uniswap'AND version = '3'AND token_sold_address = 0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2AND token_bought_address = 0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48AND project_contract_address IN (0xe0554a476a092703abdb3ef35c80e0d76d32939f,0x88e6a0c2ddd26feeb64f039a2c41296fcb3f5640,0x8ad599c3a0ff1de082011efddc58f1908eb6e6d8,0x7bea39867e4169dbe237d55c8242a8f2fcdcc387)ORDER BY block_number, tx_index, evt_index, tx_hash, project_contract_address;