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

Erase the provided transactions from the wallet within a database batch&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;requires&lowbar;capability(0x7f2e1e5995a8), requires&lowbar;capability(0x7f2e11aaa368), requires&lowbar;capability(0x7f2e16a00158), requires&lowbar;capability(0x7f2e15f2f5f8), requires&lowbar;capability(0x7f2e12c6e288)&rsqb;&rsqb;
xref:util/Result.adoc[util::Result&lt;void&gt;]
RemoveTxs(
    xref:wallet/WalletBatch.adoc[WalletBatch]& batch,
    std::vector&lt;Txid&gt;& txs&lowbar;to&lowbar;remove);
----

== Return Value

Success, or an error if removal failed&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *batch*
| The database batch to write through&period;
| *txs&lowbar;to&lowbar;remove*
| The txids to erase from the wallet&period;
|===


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