The parameters object.
Optionalnetwork?: NetworkBIP32 account index.
Optionalchange?: numberBranch index (0 receive / 1 change).
Optionalindex?: number | "*"Address index or wildcard for ranged descriptors.
OptionalkeyPath?: stringFull path suffix (/change/index) alternative.
OptionalisPublic?: booleanCompute an xpub or xprv
Computes the standard descriptor based on given parameters.
You can define the output location either by:
keyPath(e.g., "/0/2"). ORchangeandindexvalues separately (e.g.,{change:0, index:2}).For ranged indexing, the
indexcan be set as a wildcard '*'. For example:keyPath="/0/*"OR{change:0, index:'*'}.