UNPKG

bitcoin-cli-ts

Version:

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

17 lines (16 loc) 823 B
// Auto synced from github actions. Don't change this file import { __rest } from "tslib"; import request from '../../rpc-request'; /** * 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) { var bitcoind = params.bitcoind, methodParams = __rest(params, ["bitcoind"]); return request({ method: 'walletcreatefundedpsbt', params: methodParams }, bitcoind); }