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