检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
设置用户级授权用户 为用户设置授权用户,被授权的用户拥有该用户下所有集合的数字资产操作权限。 调用方法 SetApprovalForAll(owner, operator, isApproved string)(string,error) 参数说明 参数 类型 说明 owner String
设置用户级授权用户 为用户设置授权用户,被授权的用户拥有该用户下所有集合的数字资产操作权限。 调用方法 public String setApprovalForAll(String owner, String operator, boolean isApproved) throws
查询数字资产描述信息 根据集合标识和内容标识符查询其metadata信息。 调用方法 public function tokenURI(string $collectionIndex, string $tokenId) throws Exception 参数说明 参数 类型 说明
查询集合级授权用户 查询指定资产集合下,owner用户是否对operator开启授权。 调用方法 public function isApprovedForAll(string $collectionIndex, string $owner, string $operator) throws
设置用户级授权用户 为用户设置授权用户,被授权的用户拥有该用户下所有集合的数字资产操作权限。 调用方法 public function setApprovalForAll(string $owner, string $operator, bool $isApproved)throws
批量转移数字资产所有权 批量转移不同/相同资产集合中若干数字资产的所有权,从from转移到to用户。 调用方法 SafeBatchTransferFrom(from, to string, ids []ID)(string,error) 参数说明 参数 类型 说明 from String
批量转移数字资产所有权 批量转移不同/相同资产集合中若干数字资产的所有权,从from转移到to用户。 调用方法 public function safeBatchTransferFrom(string $from, string $to, array $ids)throws Exception
查找子资产的根所有者 遍历查询子资产的父所有者,获得子资产的根所有者。 调用方法 RootOwnerOfChild(childCollectionIndex, childTokenId string)(string,error) 参数说明 参数 类型 说明 childCollectionIndex
查找子资产的根所有者 遍历查询子资产的父所有者,获得子资产的根所有者。 调用方法 public String rootOwnerOfChild(String childCollectionIndex, String childTokenId) throws Exception 参数说明
转移数字资产所有权 将指定集合中的指定数字资产的所有权,从from转移到to用户。 调用方法 TransferFrom(collectionIndex, from, to, tokenId string) (string,error) 参数说明 参数 类型 说明 collectionIndex
转移数字资产所有权 将指定集合中的指定数字资产的所有权,从from转移到to用户。 调用方法 public String safeTransferFrom(String from, String to, ID id) throws Exception 参数说明 参数 类型 说明 from
查询数字资产所有者 根据集合标识和数字资产标识符查询其所有者。 调用方法 OwnerOf(collectionIndex, tokenId string)(string, error) 参数说明 参数 类型 说明 collectionIndex String 必填参数,集合唯一标识符,不能重复。
查询集合中数字资产数量 查询指定资产集合下,已铸造的数字资产数量。 仅专享版支持该接口调用。 调用方法 TotalSupply(collectionIndex string) (int64, error) 参数说明 参数 类型 说明 collectionIndex String 必填参数,集合唯一标识符,不能重复。
监管者注销数字资产 为了满足特殊场景和监管需求,监管者可以销毁指定资产集合中的数字资产。每个租户的管理CA身份默认为监管者。 仅共享版支持该接口调用。 调用方法 SupervisorBurn(collectionIndex, tokenId string) (string, error)
监管者注销数字资产 为了满足特殊场景和监管需求,监管者可以销毁指定资产集合中的数字资产。每个租户的管理CA身份默认为监管者。 仅共享版支持该接口调用。 调用方法 public String supervisorBurn(String collectionIndex, String
监管者注销数字资产 为了满足特殊场景和监管需求,监管者可以销毁指定资产集合中的数字资产。每个租户的管理CA身份默认为监管者。 仅共享版支持该接口调用。 调用方法 public function supervisorBurn(string $collectionIndex, string
加入可组合资产 某一集合中数字资产的所有者或授权者将该资产加入指定集合中的可组合资产。 调用方法 GetChild(from, toCollectionIndex, toTokenId, childCollectionIndex, childTokenId string)(string
铸造可组合资产 为指定资产集合铸造一个编号为tokenId的可组合资产,可组合数字资产可以拥有若干个子资产,默认最大可拥有20个子资产。 调用方法 public MintResp mint(String collectionIndex, String tokenId, Metadata
存储资产原内容时,报错“storage service is not open for the account,please open it through the management page” 问题现象 存储资产原内容产生报错。 图1 存储资产原内容报错信息 排查思路 检查是否开通存储增强功能。
批量转移数字资产所有权 批量转移不同/相同资产集合中若干数字资产的所有权,从from转移到to用户。 调用方法 public String safeBatchTransferFrom(String from, String to, ID[] ids) throws Exception