Skip to main content

CollectionConfigurationUpdate

Represents an update to the collection's configuration, such as name, base URL, fees, and admin.

Hierarchy

  • { admin: PublicKey; baseURL: Field; name: Field; royaltyFee: UInt32; transferFee: UInt64 }
    • CollectionConfigurationUpdate

Index

Constructors

externalconstructor

  • new CollectionConfigurationUpdate(value: { admin: PublicKey; baseURL: Field; name: Field; royaltyFee: UInt32; transferFee: UInt64 }): CollectionConfigurationUpdate
  • Parameters

    • externalvalue: { admin: PublicKey; baseURL: Field; name: Field; royaltyFee: UInt32; transferFee: UInt64 }
      • externaladmin: PublicKey = PublicKey

        The public key of the admin contract.

      • externalbaseURL: Field = Field

        The base URL for the metadata of the NFTs in the collection.

      • externalname: Field = Field

        The name of the collection.

      • externalroyaltyFee: UInt32 = UInt32

        The royalty fee percentage (e.g., 1000 = 1%).

      • externaltransferFee: UInt64 = UInt64

        The transfer fee amount.

    Returns CollectionConfigurationUpdate

Properties

admin

admin: PublicKey = PublicKey

The public key of the admin contract.

baseURL

baseURL: Field = Field

The base URL for the metadata of the NFTs in the collection.

name

name: Field = Field

The name of the collection.

royaltyFee

royaltyFee: UInt32 = UInt32

The royalty fee percentage (e.g., 1000 = 1%).

transferFee

transferFee: UInt64 = UInt64

The transfer fee amount.