Exemple #1
0
 /// <summary>
 /// Initializes Exmo Wallet API provider
 /// </summary>
 /// <param name="authenticatedAPI">This provider will be used</param>
 public ExmoWalletApi(ExmoAuthenticatedApi authenticatedAPI) : base(authenticatedAPI.ApiAddress.ToString())
 {
     AuthenticatedApi = authenticatedAPI;
 }
Exemple #2
0
 /// <summary>
 /// Initializes Exmo Wallet API provider
 /// </summary>
 /// <param name="key">Public key that can be found in user’s profile settings. Example: K-7cc97c89aed2a2fd9ed7792d48d63f65800c447b</param>
 /// <param name="secret">Private key that can be found in user’s profile settings. Example: S-7cc97c89aed2a2fd9ed7792d48d63f65800c447b</param>
 /// <param name="apiAddress">ExmoAPI base url</param>
 public ExmoWalletApi(string key, string secret, string apiAddress = "https://api.exmo.com/") : base(apiAddress)
 {
     AuthenticatedApi = new ExmoAuthenticatedApi(key, secret, apiAddress);
 }