[#wallet-CachedTxGetDebit] = xref:wallet.adoc[wallet]::CachedTxGetDebit :relfileprefix: ../ :mrdocs: Returns the cached total debit of a wallet transaction. == Synopsis Declared in `<wallet/receive.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:CAmount.adoc[CAmount] CachedTxGetDebit( xref:wallet/CWallet.adoc[CWallet] const& wallet, xref:wallet/CWalletTx.adoc[CWalletTx] const& wtx, bool avoid_reuse); ---- == Return Value The debited amount. == Parameters [cols="1,4"] |=== | Name| Description | *wallet* | The wallet that owns the transaction. | *wtx* | The wallet transaction to evaluate. | *avoid_reuse* | Whether to exclude inputs from already‐used addresses. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#