bcs__DownloadBlockchainSdkConfig
Downloads the SDK configuration file for a specified BCS service instance, covering channel, chaincode, peer organization, and certificate path details.
Instructions
[BCS] 下载指定服务实例SDK配置文件
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"blockchain_id": "<blockchain_id>",
"cert_path": "<cert_path>",
"chaincode_name": "<chaincode_name>",
"channel_name": "<channel_name>",
"peer_orgs": "<peer_orgs>",
"project_id": "<project_id>"
},
"name": "bcs__DownloadBlockchainSdkConfig"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cert_path | Yes | SDK配置文件存放路径 | |
| peer_orgs | Yes | key:组织名,value:该组织下需要下载的peer节点信息,peer节点请按照0,1,2的顺序升序填写 | |
| project_id | Yes | 租户从IAM申请到的项目ID,一般为32位字符串 | |
| union_info | No | key:联盟成员名称,value:该联盟成员peer组织名称hash值数组 | |
| channel_name | Yes | 通道名称 | |
| blockchain_id | Yes | blockchainID | |
| is_multi_chan | No | 是否是多通道请求,如此处设成true则必须传入channel_chaincode,chaincode_name和channel_name设为空即可 | |
| chaincode_name | Yes | 链代码名称,以小写字母开头,支持小写字母和数字,长度6-25位 | |
| channel_chaincode | No | key:通道名称,value:该通道对应的链代码数组 |