Query editor
WITHtxs as (SELECTt.evt_block_time as block_time,t.evt_block_number as block_number,t."from",t."to",e.symbol as symbol,t.value / POW(10, e.decimals) as token_amount,'ethereum' as chainFROMerc20_ethereum.evt_Transfer tLEFT JOIN tokens_ethereum.erc20 e ON t.contract_address = e.contract_addressWHEREt."from" IN ({{wallet_list}})UNIONSELECTblock_time,block_number,"from","to",'ETH' as symbol,value / 1e18 as token_amount,'ethereum' as chainFROMethereum.transactionsWHERE"from" IN ({{wallet_list}})UNIONSELECTt.evt_block_time as block_time,t.evt_block_number as block_number,t."from",t."to",e.symbol as symbol,t.value / POW(10, e.decimals) as token_amount,'optimism' as chainFROMerc20_optimism.evt_Transfer tLEFT JOIN tokens_optimism.erc20 e ON t.contract_address = e.contract_addressWHEREt."from" IN ({{wallet_list}})UNIONSELECTblock_time,block_number,"from","to",'ETH' as symbol,value / 1e18 as token_amount,'optimism' as chainFROMoptimism.transactionsWHERE"from" IN ({{wallet_list}})),labels as (SELECTtxs.*,-- l1.name as from_name,