defaultTransparentAddress method
TransparentDerivedAddress
defaultTransparentAddress({
- PubKeyModes pubKeyMode = PubKeyModes.compressed,
- List<
int> ? transparentScriptHash, - 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,
);
}