查询用户拥有的数字资产 查询指定资产集合下,用户所拥有的数字资产。 仅专享版支持该接口调用。 调用方法 public String[] account(String collectionIndex, String identity) throws Exception 参数说明 参数
查询用户级授权用户 查询owner用户是否对operator开启用户级授权。 调用方法 IsApprovedForAll(owner, operator string)(bool,error) 参数说明 参数 类型 说明 owner String 必填参数,所有者身份标识。 operator
修改集合信息 创建者有权限修改集合的名称和缩写。 调用方法 SetOption(collectionIndex, name, symbol string)(string,error) 参数说明 参数 类型 说明 collectionIndex String 必填参数,集合唯一标识符
查询集合中数字资产数量 查询指定资产集合下,已铸造的数字资产数量。 仅专享版支持该接口调用。 调用方法 TotalSupply(collectionIndex string) (int64, error) 参数说明 参数 类型 说明 collectionIndex String 必填参数
批量铸造数字资产 为指定资产集合批量铸造若干个从某一资产编号开始的同一数字资产。 调用方法 BatchMint(collectionIndex string, batchMintData *BatchMintData)(string,error) 参数说明 参数 类型 说明 collectionIndex
创建数字资产集合 集合包括Name和Symbol,可调用SetOption方法设置。每一个集合中可包含0个或无限个数字资产。每个数字资产对应一个唯一的tokenId。 调用方法 CreateNFTCollection(collectionIndex string) (string,
销毁数字资产 销毁资产集合编号为tokenId的数字资产。 调用方法 Burn(collectionIndex, tokenId string)(string, error) 参数说明 参数 类型 说明 collectionIndex String 必填参数,集合唯一标识符,不能重复
查询数字资产描述信息 根据集合标识和数字资产标识符查询资产的metadata信息。 调用方法 TokenURI(collectionIndex, tokenId string) (*Metadata, error) 参数说明 参数 类型 说明 collectionIndex String
查询数字资产是否铸造 查询指定资产集合下,数字资产标识tokenId是否被铸造。 调用方法 IsMinted(collectionIndex, tokenId string)(bool, error) 参数说明 参数 类型 说明 collectionIndex String 必填参数
查询用户拥有数字资产数量 查询指定资产集合下,用户所拥有的数字资产数量。 仅专享版支持该接口调用。 调用方法 BalanceOf(collectionIndex, identity string) (int64, error) 参数说明 参数 类型 说明 collectionIndex
批量转移数字资产所有权 批量转移不同/相同资产集合中若干数字资产的所有权,从from转移到to用户。 调用方法 SafeBatchTransferFrom(from, to string, ids []ID)(string,error) 参数说明 参数 类型 说明 from String
查询数字资产授权用户 根据集合标识和数字资产标识符查询某个数字资产的授权用户。 调用方法 GetApproved(collectionIndex, tokenId string) (string, error) 参数说明 参数 类型 说明 collectionIndex String
查询数字资产所有者 根据集合标识和数字资产标识符查询其所有者。 调用方法 OwnerOf(collectionIndex, tokenId string)(string, error) 参数说明 参数 类型 说明 collectionIndex String 必填参数,集合唯一标识符
查询集合级授权用户 查询指定资产集合下,owner用户是否对operator开启授权。 调用方法 IsApprovedForAll(collectionIndex, owner, operator string) (bool, error) 参数说明 参数 类型 说明 collectionIndex
设置用户级授权用户 为用户设置授权用户,被授权的用户拥有该用户下所有集合的数字资产操作权限。 调用方法 SetApprovalForAll(owner, operator, isApproved string)(string,error) 参数说明 参数 类型 说明 owner String
查找子资产的根所有者 遍历查询子资产的父所有者,获得子资产的根所有者。 调用方法 RootOwnerOfChild(childCollectionIndex, childTokenId string)(string,error) 参数说明 参数 类型 说明 childCollectionIndex
查询可组合资产拥有集合种类数量 查询可组合资产拥有的集合种类数量。 调用方法 TotalChildCollections(collectionIndex, tokenId string)(int64,error) 参数说明 参数 类型 说明 collectionIndex string
转移数字资产所有权 将指定集合中的指定数字资产的所有权,从from转移到to用户。 调用方法 TransferFrom(collectionIndex, from, to, tokenId string) (string,error) 参数说明 参数 类型 说明 collectionIndex
查询可组合资产的根所有者 遍历查询可组合资产的父所有者,获得可组合资产的根所有者。 调用方法 RootOwnerOf(collectionIndex, tokenId string)(string,error) 参数说明 参数 类型 说明 collectionIndex string
设置集合级授权用户 在指定资产集合下,为用户设置授权用户。被授权用户拥有该集合下该用户的所有资产操作权限。 调用方法 SetApprovalForAll(collectionIndex, owner, operator, isApproved string)(string,error
您即将访问非华为云网站,请注意账号财产安全