bitcoin-cli-ts
Version:
Auto-generated Bitcoin client library for bitcoind JSON-RPC API
16 lines (15 loc) • 585 B
JavaScript
// Auto synced from github actions. Don't change this file
import { __rest } from "tslib";
import request from '../../rpc-request';
/**
* walletlock
*
* Removes the wallet encryption key from memory, locking the wallet.
* After calling this method, you will need to call walletpassphrase again
* before being able to call any methods which require the wallet to be unlocked.
*
*/
export function walletLock(params) {
var bitcoind = params.bitcoind, methodParams = __rest(params, ["bitcoind"]);
return request({ method: 'walletlock', params: methodParams }, bitcoind);
}