...
Body Parameters | Type | Note |
---|---|---|
chaincode_label | string | The label that will be used to identify the installed chaincode package |
package_id | string | The package id of the chaincode package that will be installed. |
channel_id | string | The channel on which this command should be executed. |
version | string | the version of the chaincode definition to be approved |
signature_policy | string | Use a policy inside the channel configuration as the chaincode endorsement policy. |
peers | string array | The array of the id of the peer nodes. For commit only |
3. List chaincodes
Get api/v1/chaincodes
Get a list of uploaded chaincodes
Response Body | Type | Note |
---|---|---|
name | string | The name of the chaincode. |
chaincode_label | string | The label that will be used to identify the installed chaincode package |
version | string | the version of the chaincode definition to be approved |
package_id | string | the package id of installed package |
language | string | the programming language of chaincode |
description | string | a description of chaincode |
3.
...
Get a chaincode
Get api/v1/chaincodes/<chaincode_name>
...