select
date_trunc('day', block_timestamp) as day,
sum(amount) as total_steth_staked
from ethereum.core.ez_token_transfers
where contract_address = '0xae7ab96520de3a18e5e111b5eaab095312d7fe84'
and from_address = '0x0000000000000000000000000000000000000000'
and block_timestamp::date >= CURRENT_DATE-90
and symbol = 'stETH'
and amount is not null
group by day