Hyperledger Fabric- HistoryQueryIterator using nodejs

后端 未结 1 1774
梦如初夏
梦如初夏 2021-01-24 23:31

I am trying to create hyperledger chaincode using nodejs and fabric-shim is new to me. I am trying to fetch history of an asset using getHistoryForKey().

I

相关标签:
1条回答
  • 2021-01-24 23:58

    You can find an example about how to use getHistoryForKey in the official Hyperledger Fabric samples ( chaincodes/marbles02).

    https://github.com/hyperledger/fabric-samples/blob/release-1.4/chaincode/marbles02/node/marbles_chaincode.js

    0 讨论(0)
提交回复
热议问题