Channel transaction and genesis block in Hyperldger Fabric are stored in an encoded way. However you can take a look on the content of the files with either with the configtxgen or with the configtxlator tool tool and with the help of the following commands:
Viewing the content of the genesis block with configtxgen:
configtxgen -inspectBlock genesis.block
With configtxlator, you have to start the tool first:
configtxlator start
Viewing the content of the genesis block with configtxlator:
curl -X POST --data-binary @genesis.block http://127.0.0.1:7059/protolator/decode/common.Block > genesis.json
Viewing the content of the channel.tx with configtxlator:
curl -X POST --data-binary @mychannel.tx http://127.0.0.1:7059/protolator/decode/common.Envelope > mychannel.json
Viewing the content of the anchor transaction Org1MSPanchor.tx with configtxlator:
curl -X POST --data-binary @Org1MSPanchors.tx http://127.0.0.1:7059/protolator/decode/common.Envelope > Org1MSPanchors.json