transparentAddress method

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

Returns the transparent-derived address at the given index with specified pubkey mode and address type.

Implementation

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