isValidSS58

open fun isValidSS58(string: String, coin: CoinType, ss58Prefix: Int): Boolean

Determines if the string is a valid Any address with the given SS58 network prefix.

Return

bool indicating if the address is valid.

Parameters

string

address to validate.

coin

coin type of the address.

ss58Prefix

ss58Prefix of the given address.