@vafanassieff/bitcoin-cli-ts
Version:
Auto-generated Bitcoin client library for bitcoind JSON-RPC API
16 lines • 643 B
TypeScript
import { Bitcoind, Json } from '../../types.js';
type CreateWalletDescriptorParams = {
bitcoind: Bitcoind;
type: string;
options?: Json;
};
/**
* createwalletdescriptor "type" ( {"internal":bool,"hdkey":"str",...} )
*
* Creates the wallet's descriptor for the given address type. The address type must be one that the wallet does not already have a descriptor for.
* Requires wallet passphrase to be set with walletpassphrase call if wallet is encrypted.
*
*/
export declare function createWalletDescriptor(params: CreateWalletDescriptorParams): Promise<any>;
export {};
//# sourceMappingURL=create-wallet-descriptor.d.ts.map