encodeSaplingExtendedFullViewKey method
Encodes the Sapling extended full viewing key as a Bech32 string.
Implementation
String encodeSaplingExtendedFullViewKey() {
final sapling = getSapling();
return ZCashEncodingUtils.encodeBech32Address(
bytes: sapling.publicKey.toBytes(),
encoding: Bech32Encodings.bech32,
hrp: config.coinConfig.hrpSaplingExtendedFullViewingKey,
);
}