检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
创建图片Metadata,参数image内容最大支持多少? 有限制,3KB。 父主题: 使用类问题
调用方法 SwitchIdentityWithPem(algothrim, cert, key string) error 参数说明 参数 类型 说明 algorithm String 必填参数,生成秘钥对应算法,对应秘钥类型。默认 ecdsa_with_sha256。
调用方法 Mint(collectionIndex, tokenId string, tokenURI *Metadata)(*NFT,string,error) 参数说明 参数 类型 说明 collectionIndex String 必填参数,集合唯一标识符,不能重复。
调用方法 SetApprovalForAll(owner, operator, isApproved string)(string,error) 参数说明 参数 类型 说明 owner String 必填参数,所有者身份标识。
调用方法 SetOption(collectionIndex, name, symbol string)(string,error) 参数说明 参数 类型 说明 collectionIndex String 必填参数,集合唯一标识符,不能重复。 以字母开头,支持字母、数字。
调用方法 SafeBatchTransferFrom(from, to string, ids []ID)(string,error) 参数说明 参数 类型 说明 from String 必填参数,所有者身份标识符。 to String 必填参数,接受者身份标识符。
调用方法 SafeTransferFrom(from, to string, id ID)(string,error) 参数说明 参数 类型 说明 from String 必填参数,所有者身份标识符。 to String 必填参数,接受者身份标识符。
BatchMintData 参数说明 属性 类型 说明 startTokenID String 必填参数,数字资产起始编号。同一集合内数字资产编号不能重复,取值范围[0,2^64)。 amount String 必填参数,批量铸造个数,取值范围[1,5000]。
BatchMintData 参数说明 属性 类型 说明 startTokenID String 必填参数,数字资产起始编号。同一集合内数字资产编号不能重复,取值范围[0,2^64)。 amount String 必填参数,批量铸造个数,取值范围[1,5000]。
调用方法 public function safeTransferFrom(string $from, string $to, ID $id) throws Exception 参数说明 参数 类型 说明 from String 必填参数,所有者身份标识符。
调用方法 public boolean isAppravedForAll(String owner, String operator) throws Exception 参数说明 参数 类型 说明 owner String 必填参数,所有者身份标识。
调用方法 public String safeTransferFrom(String from, String to, ID id) throws Exception 参数说明 参数 类型 说明 from String 必填参数,所有者身份标识符。
调用方法 public function isApprovedForAll(string $owner, string $operator)throws Exception 参数说明 参数 类型 说明 owner String 必填参数,所有者身份标识。
调用方法 public long balanceOf(String identity, ID id) throws Exception 参数说明 参数 类型 说明 identity String 必填参数,用户身份标识。 id ID 必填参数,数字资产标识。
调用方法 OwnerOf(collectionIndex, tokenId string)(string, error) 参数说明 参数 类型 说明 collectionIndex String 必填参数,集合唯一标识符,不能重复。 以字母开头,支持字母、数字。
调用方法 public function balanceOfBatch(array $identites, array $ids)throws Exception 参数说明 参数 类型 说明 identities String[] 必填参数,用户身份标识数组,数组长度最大为200。
调用方法 public long[] balanceOfBatch(String[] identities, ID[] ids) throws Exception 参数说明 参数 类型 说明 identities String[] 必填参数,用户身份标识数组,数组长度最大为200。
调用方法 BalanceOfBatch(identities []string, ids []ID)([]int64,error) 参数说明 参数 类型 说明 identities []String 必填参数,用户身份标识数组,数组长度最大为200。
调用方法 Burn(collectionIndex, tokenId string)(string, error) 参数说明 参数 类型 说明 collectionIndex String 必填参数,集合唯一标识符,不能重复。 以字母开头,支持字母、数字。 长度[3-32]。
调用方法 public String addCopyright(CopyrightParams copyrightParams) throws Exception 参数说明 参数 类型 说明 copyrightParams CopyrightParams 必填参数,版权参数,可参考