@vafanassieff/bitcoin-cli-ts
Version:
Auto-generated Bitcoin client library for bitcoind JSON-RPC API
16 lines • 460 B
TypeScript
import { Bitcoind } from '../../types.js';
type DumpPrivkeyParams = {
bitcoind: Bitcoind;
address: string;
};
/**
* dumpprivkey "address"
*
* Reveals the private key corresponding to 'address'.
* Then the importprivkey can be used with this output
* Note: This command is only compatible with legacy wallets.
*
*/
export declare function dumpPrivkey(params: DumpPrivkeyParams): Promise<any>;
export {};
//# sourceMappingURL=dump-privkey.d.ts.map