[#MempoolToJSON]
= MempoolToJSON
:mrdocs:

Mempool to JSON

== Synopsis

Declared in `&lt;rpc&sol;mempool&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:UniValue.adoc[UniValue]
MempoolToJSON(
    xref:CTxMemPool.adoc[CTxMemPool] const& pool,
    bool verbose = false,
    bool include&lowbar;mempool&lowbar;sequence = false);
----

== Return Value

A JSON representation of the mempool contents&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *pool*
| The mempool to serialize&period;
| *verbose*
| If true, include detailed per&hyphen;transaction entries&period;
| *include&lowbar;mempool&lowbar;sequence*
| If true, include the mempool sequence number&period;
|===


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