Get the sum of the input values
Declared in <wallet/coinselection.h>
<wallet/coinselection.h>
[[nodiscard]] CAmount GetSelectedValue() const;
The total value of the selected inputs.
The return value should not be discarded.