Contents

getVersionread-only#

Get version information about wallet-core and the protocol versions it supports.

Request:

This operation takes no arguments (an empty object).

Response:

On success, the result is a WalletCoreVersion object.

Details:

The wallet must have been initialized first (see initWallet); before initialization this operation fails with WALLET_CORE_NOT_AVAILABLE.

interface WalletCoreVersion {
  implementationSemver: string;
  implementationGitHash: string;

  // Wallet-core protocol version supported by this implementation
  // of the API ("server" version).
  version: string;
  exchange: string;
  merchant: string;

  bankIntegrationApiRange: string;
  bankConversionApiRange: string;
  corebankApiRange: string;

  // Deprecated: the bank API was split into multiple APIs with
  // separate versioning.
  bank: string;

  // Deprecated.
  hash: string | undefined;

  // Deprecated, will be removed.
  devMode: boolean;
}