Skip to content

Commit

Permalink
feat: add listaddressgroupings
Browse files Browse the repository at this point in the history
  • Loading branch information
gridcat committed Jun 27, 2021
1 parent a25886f commit 2cd3e3d
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/RPC/Wallet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -422,4 +422,15 @@ export class Wallet extends RPCBase {
): Promise<{ [key: string]: number }> {
return this.call('listaccounts', minConf, includeWatchOnly);
}

/**
* Lists groups of addresses which have had their common ownership
* made public by common use as inputs or as the resulting change in past transactions
*
* @returns {Promise<[string, number][][]>}
* @memberof Wallet
*/
public async listAddressGroupings(): Promise<[string, number][][]> {
return this.call('listaddressgroupings');
}
}

0 comments on commit 2cd3e3d

Please sign in to comment.