[#Chainstate-GetMempool]
= xref:Chainstate.adoc[Chainstate]::GetMempool
:relfileprefix: ../
:mrdocs:

Access the mempool kept in sync with this chainstate&period;

== Synopsis

Declared in `&lt;validation&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:CTxMemPool.adoc[CTxMemPool]*
GetMempool();
----

== Return Value

A pointer to the mempool&period;


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