[#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(0x7ff3720f10c8), requires_capability(0x7ff365f210c8), requires_capability(0x7ff35de5fa78), requires_capability(0x7ff35efe4558), requires_capability(0x7ff366fd0b38)]] 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]#