Query editor
with axie_addresses as (select address from (values('axso1MBZ8Hz3RdBGeyDcvc3xP5R3YNfLYqREHRvwY2t'),('9EAJcobaecvUtVMje7fPYB5XtRpz9twBm3Sf96E5vE3N'),('AeoKB9KY81tpyVY9NxPUr5hKmHzjMC9AccnUZ64HrCwY'),('9LPAkJxA7FUKw5MYmYnwwr1w3bSGCWfi7QQpD69jX3ur')) 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,'Axie Rescue' as projectfrom axie_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,'Axie Rescue' as projectfrom axie_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