select
date_trunc('day',block_timestamp) as Date,
(count(DISTINCT(sender))) as Wallets,
sum(amount)/1000000 as Algo_millions
from algorand.payment_transaction
WHERE
receiver = 'TY5N6G67JWHSMWFFFZ252FXWKLRO5UZLBEJ4LGV7TPR5PVSKPLDWH3YRXU' AND
date(block_timestamp) > '2021-12-16' AND date(block_timestamp) < '2022-02-02'
group by Date
order by Date