[#wallet-CWallet-GetDebit-0a] = xref:wallet.adoc[wallet]::xref:wallet/CWallet.adoc[CWallet]::GetDebit :relfileprefix: ../../ :mrdocs: Returns amount of debit, i.e. the amount leaving this wallet due to this input == Synopsis Declared in `<wallet/wallet.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:CAmount.adoc[CAmount] GetDebit(xref:CTxIn.adoc[CTxIn] const& txin) const; ---- == Return Value The amount debited from the wallet by this input. == Parameters [cols="1,4"] |=== | Name| Description | *txin* | The transaction input to value. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#