[#wallet-SelectionResult-AddInputs]
= xref:wallet.adoc[wallet]::xref:wallet/SelectionResult.adoc[SelectionResult]::AddInputs
:relfileprefix: ../../
:mrdocs:

Add a set of inputs to the selection&period;

== Synopsis

Declared in `&lt;wallet&sol;coinselection&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
AddInputs(
    xref:wallet/OutputSet.adoc[OutputSet] const& inputs,
    bool subtract&lowbar;fee&lowbar;outputs);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *inputs*
| The inputs to add&period;
| *subtract&lowbar;fee&lowbar;outputs*
| Whether the fee is subtracted from the outputs&period;
|===


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