[#wallet-CWallet-AbandonTransaction-0b] = xref:wallet.adoc[wallet]::xref:wallet/CWallet.adoc[CWallet]::AbandonTransaction :relfileprefix: ../../ :mrdocs: Mark a wallet transaction (and its descendants) as abandoned. == Synopsis Declared in `<wallet/wallet.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[requires_capability(0x7f2e1e599c68), requires_capability(0x7f2e11aaaa28), requires_capability(0x7f2e16a00818), requires_capability(0x7f2e15f2fcb8), requires_capability(0x7f2e12c6e948)]] bool AbandonTransaction(xref:wallet/CWalletTx.adoc[CWalletTx]& tx); ---- == Return Value true if the transaction was marked abandoned. == Parameters [cols="1,4"] |=== | Name| Description | *tx* | The wallet transaction to abandon. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#