select from_address as address, count(distinct(tx_hash)) as tx from optimism.core.fact_transactions
where status = 'SUCCESS'
and (
to_address = '0x3f9da045b0f77d707ea4061110339c4ea8ecfa70' OR
to_address = '0x998ef16ea4111094eb5ee72fc2c6f4e6e8647666'
)
group by from_address
order by tx desc
limit 10