检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
调用方法 public String transferChild(String fromCollectionIndex, String fromTokenId, String to, String childCollectionIndex, String childTokenId)
销毁数字资产 销毁资产集合编号为tokenId的数字资产。
调用方法 public function tokenURI(string $collectionIndex, string $tokenId) throws Exception 参数说明 参数 类型 说明 collectionIndex String 必填参数,集合唯一标识符,不能重复
调用方法 public Metadata tokenURI(String collectionIndex, String tokenId) throws Exception 参数说明 参数 类型 说明 collectionIndex String 必填参数,集合唯一标识符,不能重复
查询数字资产是否铸造 查询指定资产集合下,数字资产标识tokenId是否被铸造。
调用方法 TransferChild(fromCollectionIndex, fromTokenId, to, childCollectionIndex, childTokenId string)(string,error) 参数说明 参数 类型 说明 fromCollectionIndex
销毁数字资产 销毁资产集合编号为tokenId的数字资产。
调用方法 public String childTokenByIndex(String collectionIndex, String tokenId,String childCollectionIndex,String index) throws Exception 参数说明 参数
调用方法 public function childTokenByIndex(string $collectionIndex, string $tokenId, string $childCollectionIndex, string $index) throws Exception
调用方法 TokenURI(collectionIndex, tokenId string) (*Metadata, error) 参数说明 参数 类型 说明 collectionIndex String 必填参数,集合唯一标识符,不能重复。 以字母开头,支持字母、数字。
调用方法 TotalChildTokens(collectionIndex, tokenId, childCollectionIndex string)(int64,error) 参数说明 参数 类型 说明 collectionIndex string 必填参数,可组合资产的集合唯一标识符
调用方法 public long totalChildTokens(String collectionIndex, String tokenId,String childCollectionIndex) throws Exception 参数说明 参数 类型 说明 collectionIndex
调用方法 public function totalChildTokens(string $collectionIndex, string $tokenId, string $childCollectionIndex) throws Exception 参数说明 参数 类型 说明
调用方法 OwnerOf(collectionIndex, tokenId string)(string, error) 参数说明 参数 类型 说明 collectionIndex String 必填参数,集合唯一标识符,不能重复。 以字母开头,支持字母、数字。
调用方法 GetChild(from, toCollectionIndex, toTokenId, childCollectionIndex, childTokenId string)(string,error) 参数说明 参数 类型 说明 from String 必填参数,子资产所有者身份标识符
tokenId String 必填参数,数字资产编号。同一集合内不能重复,取值范围[0,2^64)。 返回值 类型 说明 string 被授权的用户身份标识符。 error 错误对象,包含错误原因,为空代表成功。 父主题: ERC721业务接口
parentTokenID string 父资产的数字资产编号。 父主题: 数据结构
parentTokenID string 父资产的数字资产编号。 父主题: 数据结构
调用方法 ChildTokenByIndex(collectionIndex, tokenId, childCollectionIndex, index string)(string,error) 参数说明 参数 类型 说明 collectionIndex string 必填参数,
tokenURI *Metadata 必填参数,数字资产对应的meta信息。可以通过NewImageMetadata等方法生成,也可以根据业务自定义生成。 父主题: 数据结构