Re: Can I view contracts in a chaincode?

Mark Lewis

If you are using the Contract API for your chaincode / smart contract implementation, your chaincode should have a "org.hyperledger.fabric:GetMetadata" transaction function that will provide you with information on the smart contracts and transaction functions contained in the chaincode. See this Gist for details of how to retrieve the metadata using a client application, although you could also use the Fabric CLI:

Join to automatically receive all group messages.