select
date_trunc('month', block_timestamp) as block_day
--, contract_address
, sum(amount) as amount
--from ethereum.udm_events
where to_address = '0xa731585ab05fc9f83555cf9bff8f58ee94e18f85'
and event_name = 'transfer'
group by block_day, contract_address