Cryptocurrencies with forbidden use cases?

As-salamu alaykum,

I have a question regarding purchasing cryptocurrencies. There are some that have haram use cases e.g. they might be focused on being used in gambling transactions.

I’m confused about this matter. If the use case is impermissible, does this make the cryptocurrency haram?

Thank you for your time

Wa alaykum salaam,

Without giving a generalised answer, it would be of concern to invest in such cryptos.