@vafanassieff/bitcoin-cli-ts
Version:
Auto-generated Bitcoin client library for bitcoind JSON-RPC API
22 lines • 850 B
TypeScript
import { Bitcoind } from '../../types.js';
type AddMultisigAddressParams = {
bitcoind: Bitcoind;
nrequired: number;
keys: Array<unknown>;
label?: string;
address_type?: string;
};
/**
* addmultisigaddress nrequired ["key",...] ( "label" "address_type" )
*
* Add an nrequired-to-sign multisignature address to the wallet. Requires a new wallet backup.
* Each key is a Bitcoin address or hex-encoded public key.
* This functionality is only intended for use with non-watchonly addresses.
* See `importaddress` for watchonly p2sh address support.
* If 'label' is specified, assign address to that label.
* Note: This command is only compatible with legacy wallets.
*
*/
export declare function addMultisigAddress(params: AddMultisigAddressParams): Promise<any>;
export {};
//# sourceMappingURL=add-multisig-address.d.ts.map