Query editor
with transfers as (select 'arbitrum' as blockchain, * from uniswap_v3_arbitrum.NonfungiblePositionManager_evt_Transferunion allselect 'ethereum' as blockchain, * from uniswap_v3_ethereum.NonfungibleTokenPositionManager_evt_Transferunion allselect 'optimism' as blockchain, * from uniswap_v3_optimism.NonfungiblePositionManager_evt_Transferunion allselect 'polygon' as blockchain, * from uniswap_v3_polygon.NonfungiblePositionManager_evt_Transfer)select blockchain, evt_block_time, to as address, 1 as directionfrom transfersunion allselect blockchain, evt_block_time, "from" as address, -1 as directionfrom transfers