My end goal is to get all existing channels. For that, I would have to query CSCC as suggested in this answer.
However, after creating the request, I would need a client object on which I would call the queryByChaincode method. When I try to create a channel instance using client.newChannel(''), the code throws an error saying that channel name is mandatory.
Now how do I query an SCC using node sdk without a channel instance?