- pkhLedger(__namedParameters): Promise<string>
Parameters
__namedParameters: {
ledgerManager: LedgerManager;
account: number;
keyPath?: string;
change?: number;
index?: number | "*";
}
account: number
Optional
keyPath?: string
Optional
change?: number
Optional
index?: number | "*"
Returns Promise<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:'*'}
.