encodeAddressBytes static method

String encodeAddressBytes({
  1. required List<int> addressBytes,
  2. required String hrp,
})

Implementation

static String encodeAddressBytes(
    {required List<int> addressBytes, required String hrp}) {
  validateAddressBytes(addressBytes);
  return Bech32Encoder.encode(hrp, addressBytes);
}