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