コード例 #1
0
        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()));
        }
コード例 #2
0
 public static string ToJson(this WithdrawRequest self) =>
 JsonConvert.SerializeObject(self, Converter.Settings);