Query editor
with daily_activity as (selectdate_trunc('day', block_time) as day,from_owner as walletfrom tokens_solana.transferswhere token_mint_address = '9f52wiW2zrt2497HroMHtZtuj7VzWu4AsEusmW3pump'union allselectdate_trunc('day', block_time) as day,to_owner as walletfrom tokens_solana.transferswhere token_mint_address = '9f52wiW2zrt2497HroMHtZtuj7VzWu4AsEusmW3pump'),daily_unique as (selectday,walletfrom daily_activitywhere wallet is not nullgroup by 1, 2),with_history as (selectd.day,d.wallet,casewhen exists (select 1from daily_unique hwhere h.wallet = d.walletand h.day >= d.day - interval '7' dayand h.day < d.day)then 1else 0end as is_repeatfrom daily_unique d)selectday,sum(is_repeat) * 100.0 / count(*) as repeat_actors_pctfrom with_historygroup by 1order by 1