UNPKG

@vafanassieff/bitcoin-cli-ts

Version:

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

21 lines 877 B
import { Bitcoind, Json } from '../../types.js'; type WalletCreateFundedPsbtParams = { bitcoind: Bitcoind; inputs?: Array<unknown>; outputs: Array<unknown>; locktime?: number; options?: Json; bip32derivs?: boolean; }; /** * 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 declare function walletCreateFundedPsbt(params: WalletCreateFundedPsbtParams): Promise<any>; export {}; //# sourceMappingURL=wallet-create-funded-psbt.d.ts.map