[#wallet-CWallet-AbandonTransaction-00]
= xref:wallet.adoc[wallet]::xref:wallet/CWallet.adoc[CWallet]::AbandonTransaction
:relfileprefix: ../../
:mrdocs:

Mark a transaction (and it in&hyphen;wallet descendants) as abandoned so its inputs may be respent&period;

== Synopsis

Declared in `&lt;wallet&sol;wallet&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
AbandonTransaction(xref:Txid.adoc[Txid] const& hashTx);
----

== Return Value

true if the transaction was marked abandoned&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *hashTx*
| The txid of the transaction to abandon&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
