# Version

The CosmicSDK library version is defined in the CosmicSDKVersion.h header file, which is included in the SDK. The version information is available as a string that could be consulted with the methods `CosmicSDK_GetVersion()` on the C API, or `CosmicSDK::getVersion()` / `CosmicAsyncSDK::getVersion()` on the C++ blocking and async APIs, as well as individual components `COSMICSDK_VERSION_MAJOR`, `COSMICSDK_VERSION_MINOR`, and `COSMICSDK_VERSION_PATCH`.

COSMICSDK_VERSION_MAJOR

  Major version number of the Cosmic SDK. Allows compile-time version checking.

COSMICSDK_VERSION_MINOR

  Minor version number of the Cosmic SDK. Allows compile-time version checking.

COSMICSDK_VERSION_PATCH

  Patch version number of the Cosmic SDK. Allows compile-time version checking.