Query editor
with stepn_addresses as (select address from (values('Dooar9JkhdZ7J3LHN3A7YCuoGRUggXhQaG4kijfLGU2j'),('AFbX8oGjGpmVFywbVouvhQSRmiW2aR1mohfahi4Y2AdB'),('7i5KKsX2weiTkry7jA4ZwSuXGhs5eJBEjY8vVxR4pfRx')) as t(address)),prog_exec as (selectic.tx_id as tx_id,tx.signer as user_wallet,tx.block_time,date_trunc('day', tx.block_time) as day,date_trunc('week', tx.block_time) as week,'StepN' as projectfrom stepn_addresses gjoin solana.instruction_calls icon ic.executing_account = g.addressand ic.block_date >= current_date - interval '60' dayjoin solana.transactions txon tx.signature = ic.tx_idand tx.block_date >= current_date - interval '60' dayand tx.success = trueand tx.block_time >= now() - interval '60' day),token_transfers as (selectt.tx_id,t.tx_signer as user_wallet,t.block_time,date_trunc('day', t.block_time) as day,date_trunc('week', t.block_time) as week,'StepN' as projectfrom stepn_addresses gjoin tokens_solana.transfers ton t.token_mint_address = g.addressand t.block_date >= current_date - interval '60' dayand t.block_time >= now() - interval '60' day)select * from prog_execunion allselect * from token_transfers