Query editor
--Error: Query is too long for wand tools.--Try shortening query to try again.--Error: Query is too long for wand tools.--Try shortening query to try again.withuser_summary as (select"from" as user_address,count(distinct "to") as dest_address_count,count(*) as transaction_count,min(block_time) as initial_block_time,max(block_time) as last_block_time,date_diff('day', min(block_time), now()) as zks_age_days,count(distinct date_trunc('day', block_time)) as active_days_count,count(distinct date_trunc('week', block_time)) as active_weeks_count,count(distinct date_trunc('month', block_time)) as active_months_count,sum(z.value * p.price) / power(10, 18) as amount_usdfrombase.transactions zleft join prices.usd p on date_trunc('minute', z.block_time) = p.minuteand p.contract_address = 0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2group by1),user_summary_count as (selectcount(1)fromuser_summarywhere--amount_usd > 1--andtransaction_count > 3--and active_months_count >= 1),user_summary_before_box as (selectuser_address,casewhen dest_address_count > 100 then 100else dest_address_countend as dest_address_count,casewhen transaction_count > 100 then 100else transaction_countend as transaction_count,initial_block_time,last_block_time,casewhen zks_age_days > 300 then 300else zks_age_daysend as zks_age_days,casewhen active_days_count > 100 then 100else active_days_countend as active_days_count,casewhen active_weeks_count > 100 then 100else active_weeks_countend as active_weeks_count,