select date_trunc('month',block_timestamp) as month, sum(event_inputs:value/1e18) as value
from ethereum_core.fact_event_logs
where block_timestamp::date >= '2021-01-01'
and event_inputs:from = '0xdef171fe48cf0115b1d80b88dc8eab59176fee57'
and event_inputs:value is not null
and event_inputs:value > 0
group by 1
order by 1
limit 20