JsonNetworkStats.cs 617 B

1234567891011121314151617181920212223
  1. namespace JsonNetworkStatsData
  2. {
  3. // Root myDeserializedClass = JsonConvert.DeserializeObject<Root>(myJsonResponse);
  4. public class Data
  5. {
  6. public int time { get; set; }
  7. public double blockTime { get; set; }
  8. public long difficulty { get; set; }
  9. public long hashrate { get; set; }
  10. public double usd { get; set; }
  11. public double btc { get; set; }
  12. }
  13. }
  14. namespace EthermineBotTelegramCore
  15. {
  16. public class JsonNetworkStats
  17. {
  18. public string status { get; set; }
  19. public JsonNetworkStatsData.Data data { get; set; }
  20. }
  21. }