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