Query editor
with native_price as (selectcasewhen symbol = 'AVAX' then 'avalanche_c'when symbol = 'BNB' then 'bnb'when symbol = 'FTM' then 'fantom'when symbol = 'MATIC' then 'polygon'when symbol = 'ETH' then 'ethereum'end as blockchain,0x1234 as "contract_address",18 as decimals,symbol,pricefromprices.usd_latestwherecontract_address is nulland symbol in ('AVAX', 'BNB', 'ETH', 'MATIC', 'FTM')union all(selectblockchain,0x1234 as contract_address,18 as decimals,'ETH' as symbol,pricefrom(select'optimism' as blockchainunion allselect'arbitrum' as blockchain) t1join (selectpricefromprices.usd_latestwherecontract_address is nulland symbol = 'ETH') t2 on 1 = 1)),all_price as (select*from(select*fromnative_priceunion allselectblockchain,contract_address,decimals,symbol,