[#EnsureAnyMemPool]
= EnsureAnyMemPool
:mrdocs:

Get the mempool from an opaque RPC context, asserting it is present&period;

== Synopsis

Declared in `&lt;rpc&sol;server&lowbar;util&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:CTxMemPool.adoc[CTxMemPool]&
EnsureAnyMemPool(std::any const& context);
----

== Return Value

The node&apos;s mempool&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *context*
| The opaque per&hyphen;connection context&period;
|===


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