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

Handle a transaction being added to the node&apos;s mempool&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
virtual
void
transactionAddedToMempool(xref:CTransactionRef.adoc[CTransactionRef] const& tx) override;
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *tx*
| The transaction added to the mempool&period;
|===


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