ToplAddress.fromBase58 constructor

ToplAddress.fromBase58(
  1. String address, {
  2. NetworkId networkPrefix = valhallaPrefix,
})

Implementation

factory ToplAddress.fromBase58(String address,
    {NetworkId networkPrefix = valhallaPrefix}) {
  final decoded = str2ByteArray(address);
  return addressFromBytes(bytes: decoded, networkPrefix: networkPrefix);
}