检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
入参:无 返回值:value值类型为字节数组 抛出异常:当网络出错,消息超时等,抛出异常 void close() 功能:使用完迭代器之后,需要关闭迭代器 入参:无 抛出异常:当网络出错,消息超时等,抛出异常 表3 HistoryIterator查询某个key历史value信息的迭代器接口
Java SDK Demo相关使用问题 区块链应用端使用Fabric开源版本的java SDK还是使用华为的SDK? 答:需要使用华为Java Demo中提供的SDK。 区块链应用端对接Fabric 2.0版本也使用Java Demo中自带的SDK 1.4.1版本吗? 答:是的。
合约示例 进入在线编译器 https://remix.ethereum.org 创建solidity合约文件,并粘贴示例合约。 pragma solidity ^0.4.26; contract SimpleStorage { uint storedData; function
mavenLocal() maven{ url "https://mirrors.huaweicloud.com/repository/maven/" } maven{ url "https://jitpack.io" }/* 若Json-Schema无法导入,可以尝试加入此库
/v2/{project_id}/huaweicloudchain/instances/{instance_id}/organizations 请求示例 POST https://{bcs_endpoint}/v2/{project_id}/huaweicloudchain/instances/{instan
<repositories> <repository> <id>maven-proxy</id> <url>https://repo.huaweicloud.com/repository/maven/huaweicloudsdk</url>
确保可正常访问华为云镜像网站,环境设置命令如下 go env -w GO111MODULE=on go env -w GOPROXY=https://repo.huaweicloud.com/repository/goproxy/ go env -w GONOSUMDB=* Go语言示例Demo基于Go
<repositories> <repository> <id>maven-proxy</id> <url>https://repo.huaweicloud.com/repository/maven/huaweicloudsdk</url>
String 错误码 error_message String 错误描述 error_msg String 错误描述 请求示例 GET https://192.168.0.90:30603/v2/agent/apis/channel/channel/transactions/count
String 错误码 error_message String 错误描述 error_msg String 错误描述 请求示例 GET https://192.168.0.90:30603/v2/agent/apis/tokens 响应示例 状态码: 200 Success {
String 错误码 error_message String 错误描述 error_msg String 错误描述 请求示例 POST https://192.168.0.90:30603/v2/agent/apis/chaincode/report { "chaincode_name"
download the BCS certificate because the etcd connection is abnormal. 下载BCS证书失败,ETCD连接异常 按照故障处理指导书中ETCD故障处理指导中的步骤,检查ETCD状态,若ETCD异常,则按照指导书中的步骤进行恢复,待恢复正常后重试。
download the BCS certificate because the etcd connection is abnormal. 下载BCS证书失败,ETCD连接异常 按照故障处理指导书中ETCD故障处理指导中的步骤,检查ETCD状态,若ETCD异常,则按照指导书中的步骤进行恢复,待恢复正常后重试。
数据面请求EndPoint可以通过管理面的查询服务实例详细信息接口返回结果中basic_info->agent_portal_addrs字段的值获取,请求示例:https://192.168.0.90:30603/v2/agent/apis/tokens。 表1 概览 类型 描述 所属中间件 端口 链代码调用(公测)
String 错误码 error_message String 错误描述 error_msg String 错误描述 请求示例 DELETE https://192.168.0.90:30603/v2/agent/apis/chaincode/uninstall { "chaincode_name"
String 错误码 error_message String 错误描述 error_msg String 错误描述 请求示例 GET https://192.168.0.90:30603/v2/agent/apis/channel/channel/summary 响应示例 状态码:
”,则调用接口时将“X-Auth-Token: ABCDEFJ....”加到请求消息头即可,如下所示。 1 2 3 POST https://iam.cn-north-4.myhuaweicloud.com/v3/auth/projects Content-Type: application/json
”,则调用接口时将“X-Auth-Token: ABCDEFJ....”加到请求消息头即可,如下所示。 1 2 3 POST https://iam.cn-north-1.myhuaweicloud.com/v3/auth/projects Content-Type: application/json
String 错误码 error_message String 错误描述 error_msg String 错误描述 请求示例 GET https://192.168.0.90:30603/v2/agent/apis/chaincode/instantiate?chaincode_name=chaincode
String 错误码 error_message String 错误描述 error_msg String 错误描述 请求示例 GET https://192.168.0.90:30603/v2/agent/apis/chaincode/install?chaincode_name=chaincode