[#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(0x7f2e37684468), requires_capability(0x7f2e219d19e8), requires_capability(0x7f2e1ac64c18)]] 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]#