createCollectionTransaction

open suspend override fun createCollectionTransaction(creator: Account, name: String, description: String, uri: String, collectionOptions: CreateCollectionOptions, options: InputGenerateTransactionOptions): SimpleTransaction

Creates a new collection within the specified account.

Return

A SimpleTransaction that, when submitted, will create the specified collection.

Parameters

creator

The account under which the collection will be created. This is the account of the collection's creator.

name

The unique name of the collection within the creator's account. Each account can only have one collection with a given name.

description

An optional description of the collection. It must be less than 2048 characters.

uri

An optional link to content related to the collection. It must be less than 512 characters.

collectionOptions

Optional parameters for configuring the collection.

options

Optional parameters for generating the transaction.

Samples