[#RemoveUnnecessaryTransactions]
= RemoveUnnecessaryTransactions
:mrdocs:

Reduces the size of the PSBT by dropping unnecessary `non&lowbar;witness&lowbar;utxos` (i&period;e&period; complete previous transactions) from a psbt when all inputs are segwit v1&period;

== Synopsis

Declared in `&lt;psbt&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
RemoveUnnecessaryTransactions(xref:PartiallySignedTransaction.adoc[PartiallySignedTransaction]& psbtx);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *psbtx*
| The PSBT to shrink&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
