[#ArgsManager-GetChainType] = xref:ArgsManager.adoc[ArgsManager]::GetChainType :relfileprefix: ../ :mrdocs: Returns the appropriate chain type from the program arguments. == Synopsis Declared in `<common/args.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[requires_capability(0x7f2e381ae128)]] xref:ChainType.adoc[ChainType] GetChainType() const; ---- == Return Value ChainType::MAIN by default; raises runtime error if an invalid combination, or unknown chain is given. [.small]#Created with https://www.mrdocs.com[MrDocs]#