getTransparent method

Bip32Slip10Secp256k1 getTransparent()

Returns the transparent component of this UFVK, or throws if missing.

Implementation

Bip32Slip10Secp256k1 getTransparent() {
  final transparent = this.transparent;
  if (transparent == null) {
    throw ZCashKeyError("Transparent key missing.");
  }
  return transparent;
}