Exemplo n.º 1
0
        public async Task <decimal> ValueBinance()
        {
            var api    = new BinanceApi();
            var answer = await api.GetExchangeRateAsync(Asset.ETH, Asset.BTC);

            Console.WriteLine($"Binance is {answer}");
            return(answer);
        }