transparentAddress method
TransparentDerivedAddress
transparentAddress(
- DiversifierIndex index, {
- Bip44Changes scope = Bip44Changes.chainExt,
- PubKeyModes pubKeyMode = PubKeyModes.compressed,
- List<
int> ? transparentScriptHash, - 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,
);
}