[#wallet-SelectionResult-GetWeight]
= xref:wallet.adoc[wallet]::xref:wallet/SelectionResult.adoc[SelectionResult]::GetWeight
:relfileprefix: ../../
:mrdocs:

Return the total weight of the selected inputs&period;

== Synopsis

Declared in `&lt;wallet&sol;coinselection&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
GetWeight() const;
----

== Return Value

The selection weight&period;


[.small]#Created with https://www.mrdocs.com[MrDocs]#
