Updated on 2026-08-14

This commit is contained in:
Tangem 2024-09-06 11:35:11 +03:00
parent 06eabf3699
commit 6045dce1df
2 changed files with 15 additions and 8 deletions

View file

@ -77,6 +77,11 @@ object BlockchainUtils {
return blockchain == Blockchain.Solana
}
fun isPolkadot(networkId: String): Boolean {
val blockchain = Blockchain.fromId(networkId)
return blockchain == Blockchain.Polkadot || blockchain == Blockchain.PolkadotTestnet
}
data class BlockchainInfo(
val blockchainId: String,
val name: String,