Query editor
with raw as (select 'arbitrum' as blockchain, evt_block_time as created_time, evt_tx_hash, id as pool_id, currency0 as token0_address, currency1 as token1_address, fee/1e4 as fee_in_percent, hooksfrom uniswap_v4_arbitrum.PoolManager_evt_Initializeunion allselect 'base' as blockchain, evt_block_time as created_time, evt_tx_hash, id as pool_id, currency0 as token0_address, currency1 as token1_address, fee/1e4 as fee_in_percent, hooksfrom uniswap_v4_base.PoolManager_evt_Initializeunion allselect 'polygon' as blockchain, evt_block_time as created_time, evt_tx_hash, id as pool_id, currency0 as token0_address, currency1 as token1_address, fee/1e4 as fee_in_percent, hooksfrom uniswap_v4_polygon.PoolManager_evt_Initializeunion allselect 'bnb' as blockchain, evt_block_time as created_time, evt_tx_hash, id as pool_id, currency0 as token0_address, currency1 as token1_address, fee/1e4 as fee_in_percent, hooksfrom uniswap_v4_bnb.PoolManager_evt_Initializeunion allselect 'optimism' as blockchain, evt_block_time as created_time, evt_tx_hash, id as pool_id, currency0 as token0_address, currency1 as token1_address, fee/1e4 as fee_in_percent, hooksfrom uniswap_v4_optimism.PoolManager_evt_Initializeunion allselect 'avalanche_c' as blockchain, evt_block_time as created_time, evt_tx_hash, id as pool_id, currency0 as token0_address, currency1 as token1_address, fee/1e4 as fee_in_percent, hooksfrom uniswap_v4_avalanche_c.PoolManager_evt_Initialize