utxoupdatepsbt

Back to rawtransactions

Summary

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

Description

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

Arguments

  • psbt (STR, required): A base64 string of a PSBT
  • descriptors (ARR): An array of either strings or objects
  • value (STR): An output descriptor
  • value (OBJ): An object with an output descriptor and extra information
    • desc (STR, required): An output descriptor
    • range (RANGE): Up to what index HD chains should be explored (either end or [begin,end])

Results

  • value (STR): The base64-encoded partially signed transaction with inputs updated

Examples

qbit-cli utxoupdatepsbt "psbt"