检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
拆分子资产给用户 将可组合资产中的子资产拆分转移给指定用户。 调用方法 public function transferChild(string $fromCollectionIndex, string $fromTokenId, string $to, string $childCollectionIndex
"record" : [ { "productCode" : "appletest", "productName" : "11", "productPhotoUrl" : "https://xxx.xxx.xxx.xxx", "sweepc
拆分子资产给其它可组合资产 将可组合资产中的子资产拆分转移给其它可组合资产。 调用方法 public function safeTransferChild(string $fromCollectionIndex, string $fromTokenId, string $toCollectionIndex
拆分子资产给用户 将可组合资产中的子资产拆分转移给指定用户。 调用方法 public String transferChild(String fromCollectionIndex, String fromTokenId, String to, String childCollectionIndex
拆分子资产给其它可组合资产 将可组合资产中的子资产拆分转移给其它可组合资产。 调用方法 public String safeTransferChild(String fromCollectionIndex, String fromTokenId, String toCollectionIndex
查询集合级授权用户 查询指定资产集合下,owner用户是否对operator开启授权。 调用方法 public function isApprovedForAll(string $collectionIndex, string $owner, string $operator) throws
查询集合级授权用户 查询指定资产集合下,owner用户是否对operator开启授权。 调用方法 public boolean isAppravedForAll(String collectionIndex, String owner, String operator) throws
调用说明 可信存证服务提供了REST(Representational State Transfer)风格API,支持您通过HTTPS请求调用,调用方法请参见如何调用API。 父主题: 使用前必读
根据索引查询可组合资产某一集合标识 根据子资产集合的索引查询可组合资产中对应的集合标识。 调用方法 public function childContractByIndex(string $collectionIndex, string $tokenId, string $index)
转移数字资产所有权 将指定集合中的指定数字资产的所有权,从from转移到to用户。 调用方法 public function transferFrom(string $collectionIndex, string $from, string $to, string $tokenId)
查询可组合资产拥有某一集合下子资产数量 根据子资产集合名查询可组合资产拥有该集合下子资产的数量。 调用方法 public long totalChildTokens(String collectionIndex, String tokenId,String childCollectionIndex)
查询可组合资产拥有某一集合下子资产数量 根据子资产集合名查询可组合资产拥有该集合下子资产的数量。 调用方法 public function totalChildTokens(string $collectionIndex, string $tokenId, string $childCollectionIndex)
版权存证 仅专享版支持该接口调用。 将版权相关信息进行区块链存证。 调用方法 public String addCopyright(CopyrightParams copyrightParams) throws Exception 参数说明 参数 类型 说明 copyrightParams
根据索引查询可组合资产某一集合标识 根据子资产集合的索引查询可组合资产中对应的集合标识。 调用方法 public String childContractByIndex(String collectionIndex, String tokenId, String index) throws
查找子资产的根所有者 遍历查询子资产的父所有者,获得子资产的根所有者。 调用方法 public function rootOwnerOfChild(string $childCollectionIndex, string $childTokenId) throws Exception
转移数字资产所有权 将指定集合中的指定数字资产的所有权,从from转移到to用户。 调用方法 public String transferFrom(String collectionIndex, String from, String to, String tokenId) throws
创建图片Metadata 工具方法,帮助生成metadata对象,获得对象后开发者可以自定义设置properties属性。 调用方法 public function newImageMetadata(string $data, string $name, string $url,
86d63a1bea3", "imageType" : "2", "elementName" : "apple3", "elementUrl" : "https://xxx.xxx.xxx.xxx/petaltrace%2Fimages2.jpeg", "isDisplay"
创建图片Metadata 工具方法,帮助生成metadata对象,获得对象后开发者可以自定义设置properties属性。 调用方法 public Metadata newImageMetadata(byte[] image, String name, String url, String
铸造数字资产 为指定资产集合铸造一个编号为tokenId的数字资产。 调用方法 public function mint(string $collectionIndex, string $tokenId, Metadata $tokenURI) throws Exception 参数说明