-
调用示例 - 数字资产链 DAC
getNft()); System.out.println("Mint txid:"+mintResp.getTxid()); // 生成新的用户信息,包括证书,私钥和地址 IdentityInfo receiver = tdcsdk.generateIdentity(Tools.ECDSA_ALGORITHM
-
调用说明 - 数字资产链 DAC
调用说明 可信存证服务提供了REST(Representational State Transfer)风格API,支持您通过HTTPS请求调用,调用方法请参见如何调用API。 父主题: 使用前必读
-
调用示例 - 数字资产链 DAC
Println("Collection:",collectionIndex,"token:1 owner is ",owner) // 生成新的用户信息,包括证书,私钥和地址 cert, sk, receiverAddr, err := sdk.GenerateIdentity(utils.EcdsaWithSha256
-
数字资产(数字藏品)平台如何在网信办进行备案? - 数字资产链 DAC
数字资产(数字藏品)平台如何在网信办进行备案? 华为云BBS社区提供区块链信息服务网信办备案填报指南,具体操作参见:https://bbs.huaweicloud.com/forum/thread-191203-1-1.html。 父主题: 使用类问题
-
存证信息核验 - 数字资产链 DAC
存证的文件类型,0:文件类型1:图片类型2:视频类型3:音频类型4:其他 枚举值: 1 2 3 4 5 user_addr String 用户地址,基于用户证书生成的公钥 最小长度:32 最大长度:64 状态码: 400 表4 响应Body参数 参数 参数类型 描述 error_code String
-
获取项目ID - 数字资产链 DAC
获取项目ID 调用API获取项目ID 项目ID可以通过调用查询指定条件下的项目列表API获取。 获取项目ID的接口为“GET https://{Endpoint}/v3/projects/”,其中{Endpoint}为IAM的终端节点。接口的认证鉴权请参见认证鉴权。 响应示例如下
-
终端节点 - 数字资产链 DAC
tde.cn-north-4.myhuaweicloud.com HTTPS 可信存证(专享版)、可信溯源 华北-北京四 cn-north-4 dac.cn-north-4.myhuaweicloud.com HTTPS 父主题: 使用前必读
-
商品修改 - 数字资产链 DAC
"productPhotoUrl" : "https://xxx.xxx.xxx.xxx/petaltrace/6BF050A8AA19BB2F0BFA9F2F0529991C.jpg", "bannerUrl" : "https://xxx.xxx.xxx.xxx/pet
-
商品查询 - 数字资产链 DAC
"productPhotoUrl" : "https://xxx.xxx.xxx.xxx/petaltrace/6BF050A8AA19BB2F0BFA9F2F0529991C.jpg", "bannerUrl" : "https://xxx.xxx.xxx.xxx/pe
-
图片录入 - 数字资产链 DAC
"imageType" : "2", "elementName" : "banner3", "elementUrl" : "https://xxx.xxx.xxx.xxx/petaltrace%2Fhellorf_2238812248.jpg", "isDisplay"
-
查询商品列表 - 数字资产链 DAC
"productPhotoUrl" : "https://xxx.xxx.xxx.xxx", "sweepcodeStatisticsSwitch" : "1", "bannerUrl" : "https://xxx.xxx.xxx.xxx",
-
SDK配置 - 数字资产链 DAC
Config(可选) 在DAC 配置文件conf.yaml中增加 # windows opensslCnf: D:\xampp\php\extras\ssl\openssl.cnf # linux opensslCnf: /root/openssl.cnf 父主题: PHP
-
SDK配置 - 数字资产链 DAC
可正常访问华为云镜像网站,环境设置命令如下: go env -w GO111MODULE=on go env -w GOPROXY=https://repo.huaweicloud.com/repository/goproxy/ go env -w GONOSUMDB=* 父主题:
-
批次上传模板下载 - 数字资产链 DAC
200 Success { "code" : "200", "message" : "操作成功!", "data" : "https://xxx.xxx.xxx.xxx" } 状态码: 500 Error response { "code" : "500", "message"
-
认证鉴权 - 数字资产链 DAC
”,则调用接口时将“X-Auth-Token: ABCDEFJ....”加到请求消息头即可,如下所示。 1 2 3 POST https://iam.cn-north-1.myhuaweicloud.com/v3/auth/projects Content-Type: application/json
-
文件上传 - 数字资产链 DAC
200 success { "code" : "200", "message" : "操作成功!", "data" : "https://trace-dev1.obs.023-1.jpg" } 状态码: 500 Error response { "code" : "500"
-
SDK配置 - 数字资产链 DAC
<repositories> <repository> <id>maven-proxy</id> <url>https://repo.huaweicloud.com/repository/maven/huaweicloudsdk</url>
-
查询环节内容 - 数字资产链 DAC
"contentType" : "0", "contentText" : "", "contentUrl" : "https://xxx.xxx.xxx.xxx", "sweepCodeDisplay" : "0" } ] } 状态码: 500 Error
-
商品录入 - 数字资产链 DAC
"测试功能2202", "productOrigin" : "中国/陕西/西安", "productPhotoUrl" : "https://xxx.xxx.xxx.xxx/petaltrace%2FHWG%26ABG%E6%A1%8C%E9%9D%A2-2023-1.jpg"
-
新增环节内容 - 数字资产链 DAC
"1748189792481312769", "batchLinkContentList" : [ { "contentUrl" : "https://xxx.xxx.xxx.xxx", "contentType" : "0", "contentName" : "测试"