CreateCollectionOptions

data class CreateCollectionOptions(val maxSupply: Long = Long.MAX_VALUE, val mutableDescription: Boolean = true, val mutableRoyalty: Boolean = true, val mutableURI: Boolean = true, val mutableTokenDescription: Boolean = true, val mutableTokenName: Boolean = true, val mutableTokenProperties: Boolean = true, val mutableTokenURI: Boolean = true, val tokensBurnableByCreator: Boolean = true, val tokensFreezableByCreator: Boolean = true, val royaltyNumerator: Long = 0, val royaltyDenominator: Long = 1)

Options for creating a new collection in an account.

Constructors

Link copied to clipboard
constructor(maxSupply: Long = Long.MAX_VALUE, mutableDescription: Boolean = true, mutableRoyalty: Boolean = true, mutableURI: Boolean = true, mutableTokenDescription: Boolean = true, mutableTokenName: Boolean = true, mutableTokenProperties: Boolean = true, mutableTokenURI: Boolean = true, tokensBurnableByCreator: Boolean = true, tokensFreezableByCreator: Boolean = true, royaltyNumerator: Long = 0, royaltyDenominator: Long = 1)

Properties

Link copied to clipboard

The maximum supply of tokens in the collection. Defaults to Long.MAX_VALUE.

Link copied to clipboard

Indicates if the collection description can be modified. Defaults to true.

Link copied to clipboard

Indicates if the royalty information can be modified. Defaults to true.

Link copied to clipboard

Indicates if the token description can be modified. Defaults to true.

Link copied to clipboard

Indicates if the token name can be modified. Defaults to true.

Link copied to clipboard

Indicates if the token properties can be modified. Defaults to true.

Link copied to clipboard

Indicates if the token URI can be modified. Defaults to true.

Link copied to clipboard
val mutableURI: Boolean = true

Indicates if the collection URI can be modified. Defaults to true.

Link copied to clipboard

The denominator for calculating royalties. Defaults to 1.

Link copied to clipboard

The numerator for calculating royalties. Defaults to 0.

Link copied to clipboard

Indicates if tokens can be burned by the creator. Defaults to true.

Link copied to clipboard

Indicates if tokens can be frozen by the creator. Defaults to true.