[#ChainstateManager-ActiveChain] = xref:ChainstateManager.adoc[ChainstateManager]::ActiveChain :relfileprefix: ../ :mrdocs: Return the active chain of block headers. == Synopsis Declared in `<validation.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[requires_capability(0x7f9513c47668), requires_capability(0x7f9502de8e08), requires_capability(0x7f950b21b5d8), requires_capability(0x7f9514bf55c8)]] xref:CChain.adoc[CChain]& ActiveChain() const; ---- == Return Value A reference to the active chain. [.small]#Created with https://www.mrdocs.com[MrDocs]#