Interaction of Fabric with Chaincode and Daml smart contract

Hi Daml Team,

Suppose I have created some contracts using Daml in Fabric.

Can I query those contracts using a chaincode written using fabric-contract-api and a client application written using fabric-network and fabric-ca-client?

In theory yes, you can. The data is all there on the Fabric ledger. But it’s encoded in Daml’s wire format, and depending on which Daml driver for Fabric you use, the transaction payloads are encrypted so getting at the data directly is neither easy nor recommended. The well-supported way of reading Daml data from Fabric is via the Daml driver.

To add some color to Bernhard’s answer, this answer to another question gives some color on why we don’t recommend circumventing the supported API.