select date_trunc('week',block_timestamp) AS DateWeek,
count(distinct from_address) AS AddressCount,
count(tx_id) AS TxCount,
sum(amount)/POW(10,6) AS totalAmount
from ethereum.udm_events
where to_address = '0x0000000000000000000000000000000000000000'
group by 1
order by 1 desc
limit 24