defaultTransparentAddress method

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

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

Implementation

TransparentDerivedAddress defaultTransparentAddress({
  PubKeyModes pubKeyMode = PubKeyModes.compressed,
  List<int>? transparentScriptHash,
  TransparentAddressRequestType transparentAddressType =
      TransparentAddressRequestType.p2pkh,
}) {
  return transparentAddress(
    DiversifierIndex.zero(),
    pubKeyMode: pubKeyMode,
    transparentAddressType: transparentAddressType,
    transparentScriptHash: transparentScriptHash,
  );
}