with addresses_data as (select *
from flipside_prod_db.crosschain.address_labels
where project_name = 'tornado cash')
select tx_hash,origin_to_address, amount_usd, date_trunc('hour', block_timestamp) as time_,
date_trunc('day', block_timestamp) as day_
from avalanche.core.ez_avax_transfers
where origin_to_address in (select address from addresses_data)