[#wallet-WalletBatch-HasActiveTxn] = xref:wallet.adoc[wallet]::xref:wallet/WalletBatch.adoc[WalletBatch]::HasActiveTxn :relfileprefix: ../../ :mrdocs: Returns whether a database transaction is currently active. == Synopsis Declared in `<wallet/walletdb.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool HasActiveTxn(); ---- == Return Value true if a transaction is active. [.small]#Created with https://www.mrdocs.com[MrDocs]#