with binance_address as
(
select address from optimism.core.dim_labels
where address_name ilike '%binance%'
)
select BLOCK_TIMESTAMP::date as date, count(distinct tx_hash) as txn_cnt, count(distinct from_address) as walletes from optimism.core.fact_transactions
where to_address in (select * from binance_address)
and BLOCK_TIMESTAMP::date between '2022-10-15' and '2022-12-15'
group by 1