The address of the update authority of the Collection NFT that is being assigned to each minted NFT.
Optional
token?: undefined | 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
owner?: undefined | PublicKeyThe owner of the minted NFT.
Defaults to the wallet that is paying for it, i.e. payer
.
payer.publicKey
Optional
mint?: undefined | SignerThe mint account to create as a Signer. This expects a brand new Keypair with no associated account.
Keypair.generate()
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
guards?: undefined | 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.
{}
Optional
group?: undefined | 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
createA key to distinguish the instruction that creates the mint account of the NFT.
Optional
initializeA key to distinguish the instruction that initializes the mint account of the NFT.
Optional
createA key to distinguish the instruction that creates the associated token account of the NFT.
Optional
createA key to distinguish the instruction that creates the token account of the NFT.
Optional
initializeA key to distinguish the instruction that initializes the token account of the NFT.
Optional
mintA key to distinguish the instruction that mints the one token.
Optional
mintA key to distinguish the instruction that mints from the Candy Machine.
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.