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