bitcoin-cli-ts
Version:
Auto-generated Bitcoin client library for bitcoind JSON-RPC API
14 lines (13 loc) • 549 B
JavaScript
// Auto synced from github actions. Don't change this file
import { __rest } from "tslib";
import request from '../../rpc-request';
/**
* utxoupdatepsbt "psbt" ( ["",{"desc":"str","range":n or [n,n]},...] )
*
* Updates all segwit inputs and outputs in a PSBT with data from output descriptors, the UTXO set, txindex, or the mempool.
*
*/
export function utxoUpdatePsbt(params) {
var bitcoind = params.bitcoind, methodParams = __rest(params, ["bitcoind"]);
return request({ method: 'utxoupdatepsbt', params: methodParams }, bitcoind);
}