UNPKG

@vafanassieff/bitcoin-cli-ts

Version:

Auto-generated Bitcoin client library for bitcoind JSON-RPC API

16 lines 816 B
// Auto synced from github actions. Don't change this file import request from '../../rpc-request.js'; /** * walletcreatefundedpsbt ( [{"txid":"hex","vout":n,"sequence":n,"weight":n},...] ) [{"address":amount,...},{"data":"hex"},...] ( locktime options bip32derivs ) * * Creates and funds a transaction in the Partially Signed Transaction format. * Implements the Creator and Updater roles. * All existing inputs must either have their previous output transaction be in the wallet * or be in the UTXO set. Solving data must be provided for non-wallet inputs. * */ export function walletCreateFundedPsbt(params) { const { bitcoind, ...methodParams } = params; return request({ method: 'walletcreatefundedpsbt', params: methodParams }, bitcoind); } //# sourceMappingURL=wallet-create-funded-psbt.js.map