Stargaze
  • Welcome
    • Coming from Ethereum?
    • Coming from Solana?
    • Coming from Coinbase or other exchange?
    • Coming from MANTRA?
  • Introduction
    • What is Stargaze?
    • Meet the Team
  • Core Apps
    • Launchpad
      • Minters
      • Whitelists
      • Minter and Whitelist Fees
    • Marketplace
      • Governance Parameters
    • Names
    • Live Auctions
    • Infinity Swap
      • How it works
      • Price Mechanics
      • Swap
      • Why use Infinity Swap
      • Infinity Swap Fees
      • Examples
    • DAO DAO
    • StarDEX
      • Navigating StarDEX
      • Swapping Tokens
      • Providing Liquidity
      • Pool Analytics & Metrics
      • Managing and Removing Liquidity
  • Creators
    • Launching a Collection on Stargaze
    • Collection Guidelines
    • Content Guidelines
    • Featured Projects
  • Creator Tools
    • Stargaze Studio
      • Create an NFT Collection
        • Upload Assets and Metadata
        • Configure Collection and Minting Details
        • Creating a Standard Collection
          • Upload Assets and Metadata
          • Configure Collection and Minting Details: Standard Collection
          • Whitelist and Royalty Options
        • Creating an Open/Limited Edition Collection
          • Upload Assets and Metadata
          • Configure Collection and Minting Details: OE/LE
          • Whitelist and Royalty Options
        • Creating a 1/1 Collection
          • Upload Assets and Metadata
          • Configure Collection Details: 1/1 Collection
          • Whitelist and Royalty Options
          • Adding Additional Tokens to a 1/1 Collection
        • Creating a Burn to Mint Collection
          • Upload Assets and Metadata
          • Configure Collection and Minting Details: Standard Collection
          • Whitelist and Royalty Options
      • Interact with a Collection
        • Execute Messages
        • Query Data
    • Launching an NFT project via CLI
      • 1. Setup a basic project
        • 1a. Need help?
      • 2. Configure your project
      • 3. Add assets and metadata
        • Pinata Upload
      • 4. Instantiate minter contract on testnet
      • 5. Whitelist
      • 6. Mint from your contract
      • 7. Query contract
      • 8. Testing your contract on testnet
      • 9. Launching on mainnet
        • 9a. Launching on mainnet with Keplr (optional)
    • Create a Multisig Wallet
      • Create a Multisig using Keplr
      • Create a Multisig using DAO DAO
      • Create a Multisig using CLI
    • Stargaze Studio Fees
  • Developers
    • CosmWasm Contracts
      • Contract Code IDs
      • Deploy to Testnet
      • Deploy to Mainnet
    • Stargaze API
    • Indexers
      • Constellations
      • SubQuery
    • Token Factory
    • Minting and Trading Denoms
  • Tokenomics
    • STARS Token
    • Fair Burn
    • Real Yield
    • Governance
  • Nodes & Validators
    • Getting Setup
    • Running a Full Node
    • Setting up Cosmovisor
    • Running a Validator
    • Configuring StateSync
    • Running a Relayer
    • Foundation Delegation Program
  • Extras
    • FAQ
    • Stargaze Assets
    • Ranking and Algorithms
Powered by GitBook
On this page
  1. Creator Tools
  2. Stargaze Studio
  3. Interact with a Collection

Execute Messages

Collection Actions

A set of actions can be executed by the admin of the collection. Executable actions are as follows:

  • Mint

Mint a token from the collection to the caller's address.

  • Purge

Purge the minter address data stored inside the minter contract. This action is irreversible and requires the collection to be sold out.

  • Update Mint Price

Updates the public minting price of the collection. It can't be raised, only lowered.

  • Mint To

Mints a token for the inputted address.

  • Batch Mint

Mints multiple tokens for the inputted address.

  • Mint For

Mints the token with the given ID for the inputted address.

  • Batch Mint For

Takes an address and list of token IDs (separated by commas), then mints all of the tokens to the address.

The token IDs must be separated by commas:

e.g., 2, 4, 8.

Alternatively, you can give a range of IDs separated by a colon:

e.g., 8:13

Mint actions don't have time restrictions and thus can be executed before the start time.

  • Set Whitelist

Sets a new whitelist contract address for the collection

  • Update Minting Start Time

Updates the **** minting start time with the new date.

  • Update Trading Start Time

Updates the trading start time with the new date.

  • Update Tokens Per Address Limit

Sets a new limit for the mint per address.

  • Update Collection Info

Updates the information related to your collection such as collection description, cover image, external link, royalty address, and royalty share percentage.

  • Freeze Collection Info

Freezes the collection information. Once this is executed, Update Collection Info is no longer usable.

  • Withdraw Tokens

Withdraws all the tokens from the collection. They will no longer be mintable.

  • Transfer Tokens

Takes an address and a token ID, then transfers that token to the address.

  • Batch Transfer Tokens

Takes an address and multiple token IDs (separated by commas), then transfers all of the tokens to the address. The format for listing token IDs is the same as Batch Mint For operation.

  • Burn Token

Burns the token with the given ID.

  • Batch Burn Tokens

Takes multiple token IDs and burns them at once. The format for listing token IDs is the same as Batch Mint For operation.

Burn actions are irreversible. The burned tokens will never be accessible again.

  • Shuffle the token IDs

Shuffles all of the token IDs inside the collection. Collections are created in the same order as they are sent by the user, by default. Executing this message will shuffle all the IDs to make the orders random.

The shuffling price is 500 $STARS.

  • Airdrop Tokens

Takes a CSV file that contains Stargaze addresses and airdrops the specified number of tokens for each address.

The expected file is a simple .csv file where each line consists of one Stargaze address then a comma followed by the number of tokens to airdrop. The file should look like the following:

address,amount
stars1arkrg6nydm9k6d2hwzn9rdqtjtfes58hfqhena,3
stars1d90w4s4pcup6qceyrvckj35zwwy2j4u2rqa43t,1
  • Burn Remaining Tokens

Burns all the tokens remaining from the collection.

PreviousInteract with a CollectionNextQuery Data

Last updated 11 months ago