[#wallet-DatabaseBatch-TxnBegin]
= xref:wallet.adoc[wallet]::xref:wallet/DatabaseBatch.adoc[DatabaseBatch]::TxnBegin
:relfileprefix: ../../
:mrdocs:

Begins a database transaction&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
virtual
bool
TxnBegin() = 0;
----

== Return Value

true if the transaction was started&period;


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