[#wallet-DatabaseBatch-TxnAbort] = xref:wallet.adoc[wallet]::xref:wallet/DatabaseBatch.adoc[DatabaseBatch]::TxnAbort :relfileprefix: ../../ :mrdocs: Aborts the current transaction. == Synopsis Declared in `<wallet/db.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- virtual bool TxnAbort() = 0; ---- == Return Value true if the transaction was aborted. [.small]#Created with https://www.mrdocs.com[MrDocs]#