[#wallet-SelectionResult-GetSelectedValue] = xref:wallet.adoc[wallet]::xref:wallet/SelectionResult.adoc[SelectionResult]::GetSelectedValue :relfileprefix: ../../ :mrdocs: Get the sum of the input values == Synopsis Declared in `<wallet/coinselection.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[nodiscard]] xref:CAmount.adoc[CAmount] GetSelectedValue() const; ---- == Return Value The total value of the selected inputs. [NOTE] ==== The return value https://en.cppreference.com/cpp/language/attributes/nodiscard[should not be discarded^]. ==== [.small]#Created with https://www.mrdocs.com[MrDocs]#