检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
调用方法 public boolean isAppravedForAll(String owner, String operator) throws Exception 参数说明 参数 类型 说明 owner String 必填参数,所有者身份标识。
调用方法 public function ownerOf(string $collectionIndex, string $tokenId) throws Exception 参数说明 参数 类型 说明 collectionIndex String 必填参数,集合唯一标识符,不能重复
调用方法 public function safeBatchTransferFrom(string $from, string $to, array $ids)throws Exception 参数说明 参数 类型 说明 from String 必填参数,所有者身份标识符。
调用方法 public function generateIdentity(string $algorithm, string $identityName) throws Exception 参数说明 参数 类型 说明 algorithm String 必填参数,生成秘钥对应算法,
调用方法 public MintResp mint(String collectionIndex, String tokenId, Metadata tokenURI) throws Exception 参数说明 参数 类型 说明 collectionIndex String 必填参数
调用方法 public function tokenURI(string $collectionIndex, string $tokenId) throws Exception 参数说明 参数 类型 说明 collectionIndex String 必填参数,集合唯一标识符,不能重复
调用方法 Mint(collectionIndex, tokenId string, tokenURI *Metadata)(*NFT,string,error) 参数说明 参数 类型 说明 collectionIndex String 必填参数,集合唯一标识符,不能重复。
调用方法 Burn(collectionIndex, tokenId string)(string, error) 参数说明 参数 类型 说明 collectionIndex String 必填参数,集合唯一标识符,不能重复。 以字母开头,支持字母、数字。 长度[3-32]。
owner String 必填参数,所有者身份标识。 operator String 必填参数,被授权的用户身份标识符。 isApproved String 必填参数,同意授权为“true”,取消授权为“false”。
调用方法 BatchMint(collectionIndex string, batchMintData *BatchMintData)(string,error) 参数说明 参数 类型 说明 collectionIndex String 必填参数,集合唯一标识符,不能重复。
调用方法 public String ownerOf(ID id) throws Exception 参数说明 参数 类型 说明 id ID 必填参数,数字资产标识。 返回值 类型 说明 string 所有者身份标识符,例如地址、数字资产标识。 父主题: ERC1155业务接口
调用方法 Collections() ([]string,error) 参数说明 无 返回值 类型 说明 []string 返回数字资产集合列表。 error 错误对象,包含错误原因,为空代表成功。 父主题: 通用接口
调用方法 public ID generateID(String collectionIndex, String tokenId) throws Exception 参数说明 参数 类型 说明 collectionIndex String 必填参数,集合唯一标识符,不能重复。
返回值 类型 说明 string 集合名称。 父主题: 通用接口
返回值 类型 说明 string 集合缩写。 父主题: 通用接口
调用方法 public function isApprovedForAll(string $owner, string $operator)throws Exception 参数说明 参数 类型 说明 owner String 必填参数,所有者身份标识。
调用方法 CreateNFTCollection(collectionIndex string) (string,error) 参数说明 参数 类型 说明 collectionIndex String 必填参数,集合唯一标识符,不能重复。以字母开头,支持字母、数字。
调用方法 GetApproved(collectionIndex, tokenId string) (string, error) 参数说明 参数 类型 说明 collectionIndex String 必填参数,集合唯一标识符,不能重复。 以字母开头,支持字母、数字。
调用方法 public function safeTransferFrom(string $from, string $to, ID $id) throws Exception 参数说明 参数 类型 说明 from String 必填参数,所有者身份标识符。
调用方法 RootOwnerOfChild(childCollectionIndex, childTokenId string)(string,error) 参数说明 参数 类型 说明 childCollectionIndex string 必填参数,子资产的集合唯一标识符,不能重复