bech32Decode function
Implementation
Map<String, String> bech32Decode(String bech32Data) {
final decodedData = bech32.decode(bech32Data);
final convertedData = convertBits(decodedData.data, 5, 8, false);
final hexData = hex.encode(convertedData);
return {'prefix': decodedData.hrp, 'data': hexData};
}