@vafanassieff/bitcoin-cli-ts
Version:
Auto-generated Bitcoin client library for bitcoind JSON-RPC API
25 lines (21 loc) • 622 B
text/typescript
// Auto synced from github actions. Don't change this file
import { Bitcoind } from '../../types.js'
import request from '../../rpc-request.js'
type ListAddressGroupingsParams = {
bitcoind: Bitcoind
}
/**
* listaddressgroupings
*
* 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
*
*/
export function listAddressGroupings(params: ListAddressGroupingsParams) {
const { bitcoind, ...methodParams } = params
return request(
{ method: 'listaddressgroupings', params: methodParams },
bitcoind
)
}