Query editor
with withdrawals_requested as (select date_trunc('day', evt_block_time) as time,sum(cast(amountOfStETH as double))/1e18 as amount--count(requestId) as cnt_rqst,--count(distinct requestor) as cnt_userfrom lido_ethereum.WithdrawalQueueERC721_evt_WithdrawalRequestedgroup by 1)select *,approx_percentile(amount,0.5) over (order by time rows between 29 preceding and current row) as "requested withdrawals, median_30"from withdrawals_requestedwhere time >= timestamp '2023-05-20'