Query editor
SELECTblock_time AS trade_time,tx_hash,evt_index,maker,taker,CASEWHEN token_outcome_name LIKE 'Yes-%' THEN 'Yes'WHEN token_outcome_name LIKE 'No-%' THEN 'No'ELSE token_outcome_nameEND AS outcome,amount AS usd_amount,price,shares,feeFROM polymarket_polygon.market_tradesWHEREcondition_id = 0x9997f243803996221746f2eb622878c74145e25ea8e2c8c6dfc5cf8e4ce74113AND action = 'CLOB trade'AND amount > 0ORDER BY block_time ASC;