Query editor
with t as (select block_time, hashfrom ethereum.transactionswhere "from" = 0x008300082C3000009e63680088f8c7f4D3ff2E87 --CopiumCapitaland to = 0x9008D19f58AAbD9eD0D60971565AA8510560ab41 --CoW Settlement)select block_time,case when contract_address = 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 then 'USDC'when contract_address = 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2 then 'WETH' end as token,case when contract_address = 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 then value*1e-6when contract_address = 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2 then value*1e-18*(select price from prices.usd where contract_address=0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2 order by minute desc limit 1) end as usd_amountfrom erc20_ethereum.evt_transferinner join t on evt_tx_hash = hashwhere ("from" = 0x9008D19f58AAbD9eD0D60971565AA8510560ab41 and to = 0x51C72848c68a965f66FA7a88855F9f7784502a7F) --CoW to Wintermuteand (contract_address = 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 or contract_address = 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2) --USDC or WETHorder by block_time desc