[#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(0x7ff37ba94df8), requires_capability(0x7ff375ddb788), requires_capability(0x7ff37e1a5058), requires_capability(0x7ff375a96ec8)]] xref:CChain.adoc[CChain]& ActiveChain() const; ---- == Return Value A reference to the active chain. [.small]#Created with https://www.mrdocs.com[MrDocs]#