def get_validators(self, id=None, endpoint=None):
        """
        Returns the current NEO consensus nodes information and voting status.
        Args:
            id: (int, optional) id to use for response tracking
            endpoint: (RPCEndpoint, optional) endpoint to specify to use

        Returns:
            json object of the result or the error encountered in the RPC call
        """
        return self._call_endpoint(GET_VALIDATORS, id=id, endpoint=endpoint)
Returns the current NEO consensus nodes information and voting status.
        Args:
            id: (int, optional) id to use for response tracking
            endpoint: (RPCEndpoint, optional) endpoint to specify to use

        Returns:
            json object of the result or the error encountered in the RPC call