bitcoin-cli-ts
Version:
Auto-generated Bitcoin client library for bitcoind JSON-RPC API
16 lines (15 loc) • 623 B
JavaScript
// Auto synced from github actions. Don't change this file
import { __rest } from "tslib";
import request from '../../rpc-request';
/**
* walletprocesspsbt "psbt" ( sign "sighashtype" bip32derivs finalize )
*
* Update a PSBT with input information from our wallet and then sign inputs
* that we can sign for.
* Requires wallet passphrase to be set with walletpassphrase call if wallet is encrypted.
*
*/
export function walletProcessPsbt(params) {
var bitcoind = params.bitcoind, methodParams = __rest(params, ["bitcoind"]);
return request({ method: 'walletprocesspsbt', params: methodParams }, bitcoind);
}