with daily_sum as
(select
block_timestamp::date as day,
tx_hash,
sum(amount) as daily_sum_eth
from ethereum.core.ez_eth_transfers
where block_timestamp > '2022-01-01'
and eth_to_address = '0x00000000219ab540356cbb839cbe05303d7705fa'
group by 1,2)
select
day,
max(daily_sum_eth)
from daily_sum
group by day
-- and tx_hash = '0x31ceb7b25b654821e8008905448d272b42e0f2968d94e0a589660ebaddf7b9fa'