[#wallet-SelectionResult-GetWeight] = xref:wallet.adoc[wallet]::xref:wallet/SelectionResult.adoc[SelectionResult]::GetWeight :relfileprefix: ../../ :mrdocs: Return the total weight of the selected inputs. == Synopsis Declared in `<wallet/coinselection.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int GetWeight() const; ---- == Return Value The selection weight. [.small]#Created with https://www.mrdocs.com[MrDocs]#