예제 #1
0
        public async Task <XCommasResponse <bool> > SetBotPairsBlackListAsync(BotPairsBlackListData data)
        {
            var path = $"{BaseAddress}/ver1/bots/update_pairs_black_list";

            using (var request = XCommasRequest.Post(path).WithSerializedContent(data).Sign(this))
            {
                return(await this.GetResponse <bool>(request).ConfigureAwait(false));
            }
        }
예제 #2
0
 public XCommasResponse <bool> SetBotPairsBlackList(BotPairsBlackListData data) => this.SetBotPairsBlackListAsync(data).Result;