defaultTransparentAddress method

TransparentDerivedAddress defaultTransparentAddress(
  1. ZCryptoContext context, {
  2. Bip44Changes scope = Bip44Changes.chainExt,
  3. PubKeyModes pubKeyMode = PubKeyModes.compressed,
  4. List<int>? transparentScriptHash,
  5. TransparentAddressRequestType transparentAddressType = TransparentAddressRequestType.p2pkh,
})

Returns the default transparent-derived address for this UFVK using the specified context, scope, and address parameters.

Implementation

TransparentDerivedAddress defaultTransparentAddress(
  ZCryptoContext context, {
  Bip44Changes scope = Bip44Changes.chainExt,
  PubKeyModes pubKeyMode = PubKeyModes.compressed,
  List<int>? transparentScriptHash,
  TransparentAddressRequestType transparentAddressType =
      TransparentAddressRequestType.p2pkh,
}) {
  return toUnifiedIncomingViewingKey(
    context,
    scope: scope,
  ).defaultTransparentAddress(
    pubKeyMode: pubKeyMode,
    transparentAddressType: transparentAddressType,
    transparentScriptHash: transparentScriptHash,
  );
}