Issue Details

Number
30873
Title
RPC: Populate a PSBT input with a UTXO not in wallet/mempool/utxo set
Description
### Please describe the feature you'd like to see added. If a user wants to make a chain of two transactions and sign the child *without being able to get the parent in their mempool*, I do not believe there is a way for this to be done natively in the PSBT RPCs. As the UTXO is not in the mempool/wallet/utxo set, it cannot be found for signing/finalization, unless injected manually. Note that this functionality seems to exist in the raw transaction path via the "prevtx" argument for signing, via: bitcoin-cli signrawtransactionwithwallet <tx_hex> '[{"txid": "<txid_hex>", "vout": 0, "scriptPubKey": "<spk_hex>", "amount": "<amt>"}]' ### Is your feature related to a problem, if so please describe it. _No response_ ### Describe the solution you'd like One thought is an additional optional argument for `utxoupdatepsbt` to inject a UTXO from (an array of) serialized previous transactions. The PSBT Input's prevout can be found in that list, and the PSBT Input populated with the requisite UTXO. ### Describe any alternatives you've considered _No response_ ### Please leave any additional context _No response_
URL
https://github.com/bitcoin/bitcoin/issue/30873
Closed by
Back to List