[#PrivateBroadcast-Remove] = xref:PrivateBroadcast.adoc[PrivateBroadcast]::Remove :relfileprefix: ../ :mrdocs: Forget a transaction. == Synopsis Declared in `<private_broadcast.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[requires_capability(0x7f950ef0caa8), requires_capability(0x7f950e3e79c8), requires_capability(0x7f9502a9e3b8)]] std::optional<size_t> Remove(xref:CTransactionRef.adoc[CTransactionRef] const& tx); ---- == Return Value The confirmed‐send count if the transaction was removed, otherwise nullopt. == Parameters [cols="1,4"] |=== | Name| Description | *tx* [in] | Transaction to forget. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#