select
date_trunc('week', BLOCK_TIMESTAMP) as week,
count(distinct EVENT_INPUTS:to) as users,
count(tx_hash) as trxs
from polygon.core.fact_event_logs
where EVENT_NAME='Transfer'
and ORIGIN_TO_ADDRESS='0x0000000000000000000000000000000000000000'
and ORIGIN_TO_ADDRESS = ORIGIN_FROM_ADDRESS
group by 1
order by 1