The address of the update authority of the Collection NFT that is being assigned to each minted NFT.
Optional
mintThe authority that is allowed to mint NFTs from the Candy Machine.
metaplex.identity()
if the Candy Machine has no associated Candy Guard.
Otherwise, this parameter will be ignored.
Optional
mint?: SignerThe mint account to create as a Signer. This expects a brand new Keypair with no associated account.
Keypair.generate()
Optional
owner?: PublicKeyThe owner of the minted NFT.
Defaults to the wallet that is paying for it, i.e. payer
.
payer.publicKey
Optional
token?: SignerThe new token account to create as a Signer.
This property would typically be ignored as, by default, it will create a
associated token account from the owner
and mint
properties.
When provided, the owner
property will be ignored.
associated token address of owner
and mint
.
Optional
group?: Option<string>The label of the group to mint from.
If groups are configured on the Candy Machine, you must specify a group label to mint from.
When set to null
it will mint using the default
guards, provided no groups are configured.
null
Optional
guards?: Partial<MintSettings>Guard-specific data required to mint from the Candy Machine.
Some guards require additional data to be provided at mint time.
For instance, the allowList
guard will require a Merkle proof
ensuring the minting address is allowed to mint.
You only need to provide configuration data for the guards that are set up within the group your are minting from.
{}
Generated using TypeDoc
The Candy Machine to mint from. We only need a subset of the
CandyMachine
model but we need enough information regarding its settings to know how to mint from it.This includes its address, the address of its Collection NFT and, optionally, the Candy Guard account associated with it.