defaultTransparentAddress method

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

Returns the default transparent-derived address with the specified pubkey mode and address type.

Implementation

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