KC Tam
1 min readMay 11, 2020

--

Thanks Shanwang.

You can fetch a block from each peer (or from CLI) with peer channel fetch <n>|newest -c <channel_name>. The result is in pb format. Convert it with configtxlator proto_decode then you can get back the JSON format as what I showed in the article. You can make reference to the tutorial of Add a New Org to a Channel, or the command reference of configtxlator here.

cheers, kc

--

--