[#wallet-SelectionResult-AddInputs] = xref:wallet.adoc[wallet]::xref:wallet/SelectionResult.adoc[SelectionResult]::AddInputs :relfileprefix: ../../ :mrdocs: Add a set of inputs to the selection. == Synopsis Declared in `<wallet/coinselection.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void AddInputs( xref:wallet/OutputSet.adoc[OutputSet] const& inputs, bool subtract_fee_outputs); ---- == Parameters [cols="1,4"] |=== | Name| Description | *inputs* | The inputs to add. | *subtract_fee_outputs* | Whether the fee is subtracted from the outputs. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#