NFT Client
Used to mint a new SPG collection.
NftClient
Methods
- createNFTCollection
createNFTCollection
Creates a new SPG NFT Collection.
Method | Type |
---|---|
createNFTCollection | (request: CreateNFTCollectionRequest) => Promise<CreateNFTCollectionResponse> |
Parameters:
request
: The request object containing necessary data to create a SPG NFT Collection.request.name
: The name of the collection.request.symbol
: The symbol of the collection.request.maxSupply
[Optional]: The maximum supply of the collection.request.mintFee
[Optional]: The cost to mint a token.request.mintFeeToken
[Optional]: The token to mint.request.owner
[Optional]: The owner of the collection.request.txOptions
: [Optional] The transaction options.
Returns:
response.txHash
response.encodedTxData
response.nftContract
: The address of the newly created contract.
Updated 26 days ago