Skip to main content
BETA
HomeIntegration BuilderAPI ReferenceGuidesChangelog
View Mirror World on Github
Join the Discord server

Language:

MintCollection

This endpoint is used to mint a new NFT collection. The collection can be type ERC1155 or ERC721.

Parameters

name|string - The name of the collection

symbol|string - The symbol of the collection

description|string - The description of the collection.

creators|string[] - The creators of the collection. Default is the user address.

action|Action<CommonResponse<SUIResMintCollection>> - The callback function of this method is used to receive the results.

Return

response class - CommonResponse<SUIResMintCollection>

Code Example


string name;
string symbol;
string description;
string[] creator;
MWSDK.SUI.Asset.MintCollection(name, symbol, description, creator, (res) =>
{
CommonResponse<SUIResMintCollection> resObj = res;
string message = resObj.message;
SUIResMintCollection data = resObj.data;
//todo
});

Edit this page on GitHub

Copyright © Mirror World, Inc. 2023
On this page

Home

Integration

Guides

API Reference

Changelog