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

Remove a destination from the address book within a database batch&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
DelAddressBookWithDB(
    xref:wallet/WalletBatch.adoc[WalletBatch]& batch,
    xref:CTxDestination.adoc[CTxDestination] const& address);
----

== Return Value

true if the entry was removed&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *batch*
| The database batch to write through&period;
| *address*
| The destination to remove&period;
|===


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