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

Dumps the records of a wallet database to a human&hyphen;readable file&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
DumpWallet(
    xref:ArgsManager.adoc[ArgsManager] const& args,
    xref:wallet/WalletDatabase.adoc[WalletDatabase]& db,
    xref:bilingual_str.adoc[bilingual&lowbar;str]& error);
----

== Return Value

true if the wallet was dumped successfully&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *args*
| The parsed arguments specifying the dump file and options&period;
| *db*
| The wallet database to read records from&period;
| *error*
| Receives an error message on failure&period;
|===


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