Get Installed Chaincode List

get

/console/admin/api/v1.1/chaincodes

Get a list of installed chaincodes, optionally filtering by whether they're instantiated on a given channel or installed on a given peer.

Request

Supported Media Types
Query Parameters
Back to Top

Response

Supported Media Types

200 Response

List of installed chaincodes
Body ()
Root Schema : schema
Type: array
Show Source
Nested Schema : chaincodeInfo
Type: object
Show Source
Nested Schema : paths
Type: array
Show Source
Nested Schema : versions
Type: array
Show Source

400 Response

Invalid arguments
Body ()
Root Schema : 400errorModels
Type: object
Show Source
Example:
{
    "respMesg":"invalid argument"
}

401 Response

Unauthorized

500 Response

Internal Server Error
Body ()
Root Schema : 500errorModels
Type: object
Show Source

Default Response

Unexpected error
Body ()
Root Schema : errorModel
Type: object
Show Source
Back to Top