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