[#node-ReadSnapshotBaseBlockhash] = xref:node.adoc[node]::ReadSnapshotBaseBlockhash :relfileprefix: ../ :mrdocs: Read the blockhash of the snapshot base block that was used to construct the chainstate. == Synopsis Declared in `<node/utxo_snapshot.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[requires_capability(0x7f2e40e75210)]] std::optional<uint256> ReadSnapshotBaseBlockhash(xref:fs/path.adoc[fs::path] chaindir); ---- == Return Value The snapshot base blockhash, or std::nullopt if it is absent. == Parameters [cols="1,4"] |=== | Name| Description | *chaindir* | The chainstate directory to read the base blockhash from. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#