[#wallet-PreselectedInput-SetInputWeight] = xref:wallet.adoc[wallet]::xref:wallet/PreselectedInput.adoc[PreselectedInput]::SetInputWeight :relfileprefix: ../../ :mrdocs: Set the weight for this input. == Synopsis Declared in `<wallet/coincontrol.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void SetInputWeight(int64_t weight); ---- == Parameters [cols="1,4"] |=== | Name| Description | *weight* | The input weight for spending this input. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#