walletcreatefundedpsbt

Input(s) 5

This command generates a PSBT by creating and funding a transaction with specified inputs and outputs. It supports various options for customizing transaction behavior, including specifying inputs, outputs, locktime, fee rates, change addresses, and more.

How is this used?

The walletcreatefundedpsbt command is utilized to construct and finance transactions securely within the Bitcoin wallet. It is particularly useful when constructing complex transactions with specific requirements, such as multi-signature transactions or transactions with customized fee rates. This command provides flexibility and control over the transaction creation process, ensuring that transactions meet the desired criteria before finalization and broadcast on the Bitcoin network.

Request

method

walletcreatefundedpsbt

inputs

Required

outputs

Required

locktime

Optional

options

Optional

bip32derivs

Optional

Inputs(5)

two required input remaining...

inputs (required) - An array of JSON objects representing transaction inputs
outputs (required) - The outputs (key-value pairs), where none of the keys are duplicated
locktime The transaction locktime
options An object with additional options
bip32derivs Include BIP 32 derivation paths for public keys if we know them

Result