//https://api.happynodes.f27.ventures/redis/nodeslist
        public async Task <IList <SimpleNode> > GetNodesList()
        {
            var result = await _restClient.GetAsync(NodesListEndpoint).ConfigureAwait(false);

            var data = await result.Content.ReadAsStringAsync();

            return(SimpleNode.FromJson(data));
        }
        //https://api.happynodes.f27.ventures/redis/nodes/:node_id/validatedpeers
        public async Task <IList <SimpleNode> > GetValidatedPeersOfNode(int nodeId)
        {
            if (nodeId < 0)
            {
                throw new ArgumentOutOfRangeException(nameof(nodeId));
            }
            var result = await _restClient.GetAsync($"{NodesEndpoint}/{nodeId}/{ValidatedPeersEndpoint}")
                         .ConfigureAwait(false);

            var data = await result.Content.ReadAsStringAsync();

            return(SimpleNode.FromJson(data));
        }