@vafanassieff/bitcoin-cli-ts
Version:
Auto-generated Bitcoin client library for bitcoind JSON-RPC API
13 lines • 533 B
JavaScript
// Auto synced from github actions. Don't change this file
import request from '../../rpc-request.js';
/**
* 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) {
const { bitcoind, ...methodParams } = params;
return request({ method: 'utxoupdatepsbt', params: methodParams }, bitcoind);
}
//# sourceMappingURL=utxo-update-psbt.js.map