public GetBlockResponse getBlock(GetBlockParameter parameter)
        {
            GetBlockRequest request = new GetBlockRequest();

            if (!string.IsNullOrEmpty(parameter.hash))
            {
                request.Hash = parameter.hash;
            }
            request.Height = parameter.height;
            return(coreClient.getBlock(request));
        }