bitcoin-cli-ts
Version:
Auto-generated Bitcoin client library for bitcoind JSON-RPC API
15 lines (14 loc) • 675 B
JavaScript
// Auto synced from github actions. Don't change this file
import { __rest } from "tslib";
import request from '../../rpc-request';
/**
* descriptorprocesspsbt "psbt" ["",{"desc":"str","range":n or [n,n]},...] ( "sighashtype" bip32derivs finalize )
*
* Update all segwit inputs in a PSBT with information from output descriptors, the UTXO set or the mempool.
* Then, sign the inputs we are able to with information from the output descriptors.
*
*/
export function descriptorProcessPsbt(params) {
var bitcoind = params.bitcoind, methodParams = __rest(params, ["bitcoind"]);
return request({ method: 'descriptorprocesspsbt', params: methodParams }, bitcoind);
}