Exemplo n.º 1
0
        public static async Task <string> ProcessElectrum(string ticker, Server[] servers)
        {
            var req = new ElectrumRequest
            {
                Coin     = ticker,
                Servers  = servers,
                Method   = "electrum",
                Userpass = "******"
            };

            return(await ProcessRequest(req.ToJson()));
        }
 public static string ToJson(this ElectrumRequest self) => JsonConvert.SerializeObject(self, Converter.Settings);