Query editor
WITH details AS (SELECT0x18084fbA666a33d37592fa2633fd49a74dd93a88 AS token,18 AS dec), transfer1 AS (SELECTt.contract_address,t."from" AS address,t.evt_tx_hash AS sourceTxHash,et.block_time AS initiatedAt_UTC,'Ethereum' AS sourceChain,'Ethereum' AS destChain,0x3ee18b2214aff97000d974cf647e7c347e8fa585 AS destWallet,TRY_CAST(t.value AS DOUBLE) / POWER(10, d.dec) AS amountFROM erc20_ethereum.evt_Transfer AS tJOIN ethereum.transactions AS etON t.evt_tx_hash = et.hash, details AS dWHEREt.contract_address = d.token AND t."to" = 0x3ee18b2214aff97000d974cf647e7c347e8fa585), wormhole_transfers AS (SELECTwh.call_tx_hash AS sourceTxHash,wh.recipientChainFROM wormhole_ethereum.TokenBridge_call_transferTokens AS wh)SELECTROW_NUMBER() OVER (ORDER BY tt.initiatedAt_UTC DESC) AS Rank_id,tt.initiatedAt_UTC,tt.address AS sourceWallet,tt.sourceTxHash,tt.sourceChain,tt.destChain,tt.destWallet,ROUND(tt.amount, 2) AS tBTC_amt,wht.recipientChainFROM transfer1 AS ttLEFT JOIN wormhole_transfers AS whtON tt.sourceTxHash = wht.sourceTxHashORDER BYtt.initiatedAt_UTC DESC