检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
拆分子资产给用户 将可组合资产中的子资产拆分转移给指定用户。 调用方法 public String transferChild(String fromCollectionIndex, String fromTokenId, String to, String childCollectionIndex
对象去锻造可以吗? 一个集合里可以锻造不同类型的数字资产吗? 在没有切换用户的时候,铸造的数字资产默认属于哪个用户呢? New ImageMetadata方法的具体用途是什么? 创建数字资产集合时,可以知道owner吗?
拆分子资产给其它可组合资产 将可组合资产中的子资产拆分转移给其它可组合资产。 调用方法 public String safeTransferChild(String fromCollectionIndex, String fromTokenId, String toCollectionIndex
拆分子资产给其它可组合资产 将可组合资产中的子资产拆分转移给其它可组合资产。 调用方法 public function safeTransferChild(string $fromCollectionIndex, string $fromTokenId, string $toCollectionIndex
根据索引查询可组合资产某一集合标识 根据子资产集合的索引查询可组合资产中对应的集合标识。 调用方法 public function childContractByIndex(string $collectionIndex, string $tokenId, string $index)
拆分子资产给用户 将可组合资产中的子资产拆分转移给指定用户。 调用方法 TransferChild(fromCollectionIndex, fromTokenId, to, childCollectionIndex, childTokenId string)(string,error)
查询集合级授权用户 查询指定资产集合下,owner用户是否对operator开启授权。 调用方法 public function isApprovedForAll(string $collectionIndex, string $owner, string $operator) throws
查询集合级授权用户 查询指定资产集合下,owner用户是否对operator开启授权。 调用方法 public boolean isAppravedForAll(String collectionIndex, String owner, String operator) throws
根据索引查询可组合资产某一集合标识 根据子资产集合的索引查询可组合资产中对应的集合标识。 调用方法 public String childContractByIndex(String collectionIndex, String tokenId, String index) throws
查询可组合资产拥有的子资产 根据子资产集合名和子资产索引查询可组合资产拥有的子资产的数字资产编号。 调用方法 public String childTokenByIndex(String collectionIndex, String tokenId,String childCollectionIndex
查找子资产的根所有者 遍历查询子资产的父所有者,获得子资产的根所有者。 调用方法 public function rootOwnerOfChild(string $childCollectionIndex, string $childTokenId) throws Exception
查询可组合资产拥有的子资产 根据子资产集合名和子资产索引查询可组合资产拥有的子资产的数字资产编号。 调用方法 public function childTokenByIndex(string $collectionIndex, string $tokenId, string $childCollectionIndex
拆分子资产给其它可组合资产 将可组合资产中的子资产拆分转移给其它可组合资产。 调用方法 SafeTransferChild(fromCollectionIndex, fromTokenId, toCollectionIndex, childCollectionIndex, childTokenId
铸造数字资产 为指定资产集合铸造一个编号为tokenId的数字资产。 调用方法 public function mint(string $collectionIndex, string $tokenId, Metadata $tokenURI) throws Exception 参数说明
批量铸造数字资产 为指定资产集合批量铸造若干个从某一资产编号开始的同一数字资产。 调用方法 public function batchMint(string $collectionIndex, BatchMintData $batchMintData) throws Exception
查找子资产的父所有者信息 根据子资产的集合标识和资产编号查询其父所有者的信息。 调用方法 public ParentInfo ownerOfChild(String childCollectionIndex, String childTokenId) throws Exception
加入可组合资产 某一集合中数字资产的所有者或授权者将该资产加入指定集合中的可组合资产。 调用方法 public function getChild(string $from, string $toCollectionIndex, string $toTokenId, string
查找子资产的父所有者信息 根据子资产的集合标识和资产编号查询其父所有者的信息。 调用方法 public function ownerOfChild(string $childCollectionIndex, string $childTokenId) throws Exception
修改集合信息 创建者有权限修改集合的名称和缩写。 调用方法 public function setOption(string $collectionIndex, string $name, string $symbol) throws Exception 参数说明 参数 类型 说明
转移数字资产所有权 将指定集合中的指定数字资产的所有权,从from转移到to用户。 调用方法 public function transferFrom(string $collectionIndex, string $from, string $to, string $tokenId)