[#node-FindAssumeutxoChainstateDir]
= xref:node.adoc[node]::FindAssumeutxoChainstateDir
:relfileprefix: ../
:mrdocs:

Return a path to the snapshot&hyphen;based chainstate dir, if one exists&period;

== Synopsis

Declared in `&lt;node&sol;utxo&lowbar;snapshot&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
std::optional&lt;fs::path&gt;
FindAssumeutxoChainstateDir(xref:fs/path.adoc[fs::path] const& data&lowbar;dir);
----

== Return Value

The path to the assumeutxo chainstate directory, or std&colon;&colon;nullopt if none exists&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *data&lowbar;dir*
| The node&apos;s data directory to search under&period;
|===


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