private ErrorCode WalletCreateHandler(string name, string config, string credentials_json, string metadata) { try { _storage.CreateAsync(name, config, credentials_json, metadata).GetAwaiter().GetResult(); return(ErrorCode.Success); } catch { return(ErrorCode.WalletStorageError); } }