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