- pkhBIP32(__namedParameters): string
Parameters
__namedParameters: {
masterNode: BIP32Interface;
network?: Network;
account: number;
change?: number;
index?: number | "*";
keyPath?: string;
isPublic?: boolean;
}
masterNode: BIP32Interface
Optional
network?: Network
account: number
Optional
change?: number
Optional
index?: number | "*"
Optional
keyPath?: string
Optional
isPublic?: boolean
Returns string
Computes the standard descriptor based on given parameters.
You can define the output location either by:
keyPath
(e.g., "/0/2"). ORchange
andindex
values separately (e.g.,{change:0, index:2}
).For ranged indexing, the
index
can be set as a wildcard '*'. For example:keyPath="/0/*"
OR{change:0, index:'*'}
.