[#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(0x7fb955bd0b38), requires_capability(0x7fb94db85458), requires_capability(0x7fb95ab152d8), requires_capability(0x7fb959fb1eb8), requires_capability(0x7fb956cbc148)]] 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]#