Query editor
selectevt_block_time, evt_block_date, chain, case when router = 0x3d90f66b534dd8482b181e24655a9e8265316be9 then 'LiquidMesh'when router = 0x111111125421ca6dc452d289314280a0f8842a65 then '1inch'when router in (0x1231deb6f5749ef6ce6943a275a1d3e7486f4eae, 0x026f252016a7c47cdef1f05a3fc9e20c92a49c37 /*monad*/)then 'LIFI'else cast(router as varchar) end as router, tokenIn, tokenOut, amount_usd, feeRecipient, feeToken, feeAmt, evt_tx_hashfrom wallet_api_multichain.router_evt_orderexecutedleft join (select blockchain as tokenIn_chain, contract_address as tokenIn_ca, symbol as tokenIn from tokens.erc20) on fromToken = tokenIn_ca and chain = tokenIn_chainleft join (select blockchain as tokenOut_chain, contract_address as tokenOut_ca, symbol as tokenOut from tokens.erc20) on toToken = tokenOut_ca and chain = tokenOut_chainleft join (select blockchain, max(amount_usd) as amount_usd, tx_hash from tokens_evm.transfers where block_time > now() - interval '7' day group by 1, 3) on evt_tx_hash = tx_hash and blockchain = chainwhere evt_block_date > now() - interval '7' dayorder by 1 desc