[#wallet-COutput-GetFee] = xref:wallet.adoc[wallet]::xref:wallet/COutput.adoc[COutput]::GetFee :relfileprefix: ../../ :mrdocs: Return the fee required to spend this output. == Synopsis Declared in `<wallet/coinselection.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:CAmount.adoc[CAmount] GetFee() const; ---- == Return Value The spending fee. [.small]#Created with https://www.mrdocs.com[MrDocs]#