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

Return TxState or SyncTxState as a string for logging or debugging&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;typename T&gt;
std::string
TxStateString(T const& state);
----

== Return Value

A human&hyphen;readable string describing the state&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *state*
| The transaction state variant to describe&period;
|===


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