public bool Run(long height) { Request = new ECBlockByHeightRequest(); Request.param.Height = height; return(Run(Request)); }
public bool Run(ECBlockByHeightRequest requestData) { var reply = Client.MakeRequest <ECBlockByHeightRequest>(requestData); JsonReply = reply.Content; if (reply.StatusCode == System.Net.HttpStatusCode.OK) { Result = JsonConvert.DeserializeObject <ECBlockByHeightResult>(reply.Content); return(true); } return(false); }