decodeWithoutHRP static method

Tuple<String, List<int>> decodeWithoutHRP(
  1. String address
)

Implementation

static Tuple<String, List<int>> decodeWithoutHRP(String address) {
  final decode = Bech32DecoderBase.decodeBech32(
      address,
      Bech32Const.separator,
      Bech32Const.checksumStrLen,
      Bech32Utils.verifyChecksum);
  final result = Bech32BaseUtils.convertFromBase32(decode.item2);
  return Tuple(decode.item1, result);
}