[#node-GetTip] = xref:node.adoc[node]::GetTip :relfileprefix: ../ :mrdocs: Return the hash and height of the active chain tip. == Synopsis Declared in `<node/miner.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- std::optional<interfaces::BlockRef> GetTip(xref:ChainstateManager.adoc[ChainstateManager]& chainman); ---- == Return Value The active tip reference, or std::nullopt if there is no active chain. == Parameters [cols="1,4"] |=== | Name| Description | *chainman* | The chainstate manager to query. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#