Query editor
with t as (select block_time, hashfrom ethereum.transactionswhere "from" = 0x4339889FD9dFCa20a423fbA011e9dfF1C856CAEb --GlueXand 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 = 0xD9a406DBC1a301B0D2eD5bA0d9398c4debe68202) --CoW to Arrakisand (contract_address = 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 or contract_address = 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2) --USDC or WETHorder by block_time desc