public static async Task <string> ProcessWithdraw(string ticker, string amount, string destination) { var req = new WithdrawRequest { Coin = ticker, Amount = amount, To = destination, Method = "withdraw", Userpass = "******" }; return(await ProcessRequest(req.ToJson())); }
public static string ToJson(this WithdrawRequest self) => JsonConvert.SerializeObject(self, Converter.Settings);