bitcoind.app
CommandsGuidesContact ↗
Home/Rawtransactions/utxoupdatepsbt
Rawtransactions

utxoupdatepsbt

Updates all segwit inputs and outputs in a PSBT with data from output descriptors, the UTXO set or the mempool.

Parameters

psbtstringREQUIRED
A base64 PSBT string
descriptorsarrayoptional
Array of descriptors to add to the PSBT

Returns

stringUpdated PSBT base64 string

Code Examples

curl --user myuser --data-binary '{"jsonrpc":"1.0","id":"1","method":"utxoupdatepsbt","params":["psbt_base64"]}' -H 'content-type:text/plain;' http://127.0.0.1:8332/

Example Response

"cHNidP8BAFUCAAAAAe...updated..."
← Previous
testmempoolaccept
Next →
createmultisig

More Rawtransactions Commands

analyzepsbtcombinepsbtcombinerawtransactionconverttopsbtcreatepsbtcreaterawtransaction

bitcoind.app — Bitcoin Core RPC Reference

GuidesContact ↗