Query editor
WITHchainids as (select'ethereum' as chain,30101 as lzIdunion allselect'optimism' as chain,30111 as lzIdunion allselect'arbitrum' as chain,30110 as lzIdunion allselect'base' as chain,30184 as lzIdunion allselect'linea' as chain,30183 as lzIdunion allselect'scroll' as chain,30214 as lzIdunion allselect'polygon' as chain,30109 as lzIdunion allselect'avalanche' as chain,30106 as lzIdunion allselect'bnb' as chain,30102 as lzId),stargate_v2_native_sent_temp AS (SELECTcontract_address,evt_tx_hash as from_tx_hash,evt_block_time as from_time,amountReceivedLD as to_amount,amountSentLD as from_amount,dstEid,fromAddress,guid,'base' as srcChainFROMstargate_v2_base.StargatePoolNative_evt_OFTSentUNION ALLSELECTcontract_address,evt_tx_hash as from_tx_hash,evt_block_time as from_time,amountReceivedLD as to_amount,amountSentLD as from_amount,dstEid,fromAddress,