コード例 #1
0
        public bool Run(long height)
        {
            Request = new DBlockByHeightRequest();
            Request.param.Height = height;

            return(Run(Request));
        }
コード例 #2
0
        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);
        }