Updated on 2022-09-08 GMT+08:00

Chaincode APIs

The shim package in the Fabric source code package provides the following types of APIs:

  • Parameter parsing APIs: used to parse parameters transferred to the invoked function or method during chaincode invocation
  • Ledger data operation APIs: used to provide methods for performing operations on ledger data, including status data query and transaction processing
  • Transaction obtaining APIs: used to obtain information about transaction proposals
  • Other APIs: used to set events and invoke other chaincodes