[#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. == Synopsis Declared in `<wallet/wallet.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[requires_capability(0x7f94fde06058), requires_capability(0x7f95061a8d98), requires_capability(0x7f94f2b798a8), requires_capability(0x7f94f0cf8538), requires_capability(0x7f94fee3af28)]] xref:util/Result.adoc[util::Result<void>] RemoveTxs( xref:wallet/WalletBatch.adoc[WalletBatch]& batch, std::vector<Txid>& txs_to_remove); ---- == Return Value Success, or an error if removal failed. == Parameters [cols="1,4"] |=== | Name| Description | *batch* | The database batch to write through. | *txs_to_remove* | The txids to erase from the wallet. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#