select block_date,
count(distinct wallet) as wallets
from (
select date_trunc('day', block_timestamp) as block_date,
seller_address as wallet
from ethereum.core.ez_nft_sales
where platform_name = 'blur'
union all
select date_trunc('day', block_timestamp) as block_date,
buyer_address as wallet
from ethereum.core.ez_nft_sales
where platform_name = 'blur'
)
group by 1
order by 1