Query editor
WITH users AS (SELECT call_block_time as time, from_hex(JSON_EXTRACT_SCALAR(mints.params, '$.recipient')) as addressfrom uniswap_v3_arbitrum.NonfungiblePositionManager_call_mint mints where call_success = trueUNION ALL SELECT call_block_time as time, from_hex(JSON_EXTRACT_SCALAR(mints.params, '$.recipient')) as addressfrom uniswap_v3_bnb.NonfungiblePositionManager_call_mint mints where call_success = trueUNION ALL SELECT call_block_time as time, from_hex(JSON_EXTRACT_SCALAR(mints.params, '$.recipient')) as addressfrom uniswap_v3_base.NonfungiblePositionManager_call_mint mints where call_success = trueUNION ALL SELECT call_block_time as time, from_hex(JSON_EXTRACT_SCALAR(mints.params, '$.recipient')) as addressfrom uniswap_v3_polygon.NonfungiblePositionManager_call_mint mints where call_success = trueUNION ALL SELECT call_block_time as time, from_hex(JSON_EXTRACT_SCALAR(mints.params, '$.recipient')) as addressfrom uniswap_v3_optimism.NonfungiblePositionManager_call_mint mints where call_success = trueUNION ALL SELECT call_block_time as time, from_hex(JSON_EXTRACT_SCALAR(mints.params, '$.recipient')) as addressfrom uniswap_v3_ethereum.nonfungiblepositionmanager_call_mint mints where call_success = trueUNION ALL SELECT call_block_time as time, from_hex(JSON_EXTRACT_SCALAR(mints.params, '$.recipient')) as addressfrom pancakeswap_v3_ethereum.NonfungiblePositionManager_call_mint mints where call_success = trueUNION ALL SELECT call_block_time as time, from_hex(JSON_EXTRACT_SCALAR(mints.params, '$.recipient')) as addressfrom pancakeswap_v3_bnb.NonfungiblePositionManager_call_mint mints where call_success = trueUNION ALL SELECT call_block_time as time, from_hex(JSON_EXTRACT_SCALAR(mints.params, '$.recipient')) as addressfrom pancakeswap_v3_base.NonfungiblePositionManager_call_mint mints where call_success = trueUNION ALL SELECT call_block_time as time, from_hex(JSON_EXTRACT_SCALAR(mints.params, '$.recipient')) as addressfrom pancakeswap_v3_arbitrum.NonfungiblePositionManager_call_mint mints where call_success = true)SELECT DATE_TRUNC('day', time) as time, count(*) as new_pos, count(distinct address) as unique_ownersfrom usersWHERE time > DATE_TRUNC('day', CURRENT_TIMESTAMP) - INTERVAL '180' dayGROUP BY DATE_TRUNC('day', time)