Query editor
with portals_addresses as (select address, project from (values('8xcrYR3BbaP6kB6ULThfU1RQdhNStJWa12g43oRC264K', 'Portals'),('prt1sxymaSoH5R6ZFyAnmMrqp9XbuyDXbBWnHg3XuLJ', 'Portals'),('PRTLSwfLzpVGSAQiUfXEenJkq1cwTsEcsn1hPL9zwwg', 'Portals'),('7BTwdrCXtHhWHcAVm8mSzrkvaqLLbdr4MbtEprap1iVK', 'Portals'),('52Rh8epudA3qvLmyP1YCavRWrNV8As1JcW5xMU7mJEj9', 'Portals Chrono Rush')) as t(address, project)),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,g.projectfrom portals_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,g.projectfrom portals_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