Beispiel #1
0
        public async Task <XCommasResponse <SmartTrade> > AddFundsToSmartTradeAsync(int id, AddFundsToSmartTradeParams param)
        {
            var path = $"{BaseAddress}/v2/smart_trades/{id}/add_funds";

            using (var request = XCommasRequest.Post(path).WithSerializedContent(param).Force(UserMode).Sign(this))
            {
                return(await this.GetResponse <SmartTrade>(request).ConfigureAwait(false));
            }
        }
Beispiel #2
0
 public XCommasResponse <SmartTrade> AddFundsToSmartTrade(int id, AddFundsToSmartTradeParams param) => this.AddFundsToSmartTradeAsync(id, param).Result;