UNPKG

@vafanassieff/bitcoin-cli-ts

Version:

Auto-generated Bitcoin client library for bitcoind JSON-RPC API

19 lines 661 B
import { Bitcoind } from '../../types.js'; type WalletPassphraseParams = { bitcoind: Bitcoind; passphrase: string; timeout: number; }; /** * walletpassphrase "passphrase" timeout * * Stores the wallet decryption key in memory for 'timeout' seconds. * This is needed prior to performing transactions related to private keys such as sending bitcoins * Note: * Issuing the walletpassphrase command while the wallet is already unlocked will set a new unlock * time that overrides the old one. * */ export declare function walletPassphrase(params: WalletPassphraseParams): Promise<any>; export {}; //# sourceMappingURL=wallet-passphrase.d.ts.map