1 \feffusing Newtonsoft.Json;
\r
2 using Newtonsoft.Json.Linq;
\r
8 /// Represents a Stratum notification
\r
10 [JsonObject(MemberSerialization.OptIn)]
\r
11 public class StratumNotification
\r
14 /// Response id, should be null
\r
16 [JsonProperty(PropertyName = "id")]
\r
17 public object Id { get; set; }
\r
22 [JsonProperty(PropertyName = "method")]
\r
23 public string Method { get; set; }
\r
26 /// Notification data
\r
28 [JsonProperty(PropertyName = "params")]
\r
29 public JArray Params { get; set; }
\r