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

Delete records of the given types

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
EraseRecords(std::unordered&lowbar;set&lt;std::string&gt; const& types);
----

== Return Value

true if the records were erased&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *types*
| The set of record type prefixes to delete&period;
|===


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