Returns the appropriate chain type from the program arguments.
Declared in <common/args.h>
[[requires_capability(0x7f2e381ae128)]]
ChainType
GetChainType() const;
ChainType::MAIN by default; raises runtime error if an invalid combination, or unknown chain is given.