[#wallet-WalletBatch-EraseTx] = xref:wallet.adoc[wallet]::xref:wallet/WalletBatch.adoc[WalletBatch]::EraseTx :relfileprefix: ../../ :mrdocs: Erases the wallet transaction with the given txid. == Synopsis Declared in `<wallet/walletdb.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool EraseTx(xref:Txid.adoc[Txid] hash); ---- == Return Value true if the record was erased. == Parameters [cols="1,4"] |=== | Name| Description | *hash* | The txid of the transaction to erase. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#