예제 #1
0
        public bool Run(long height)
        {
            Request = new FblockByHeightRequest();
            Request.param.height = height;

            return(Run(Request));
        }
예제 #2
0
        public bool Run(FblockByHeightRequest requestData)
        {
            var reply = Client.MakeRequest <FblockByHeightRequest>(requestData);

            JsonReply = reply.Content;

            if (reply.StatusCode == System.Net.HttpStatusCode.OK)
            {
                Result = JsonConvert.DeserializeObject <FblockByHeightResult>(reply.Content);
                return(true);
            }

            return(false);
        }