Struct mpl_candy_machine_core::accounts::MintV2
source · pub struct MintV2 {Show 24 fields
pub candy_machine: Pubkey,
pub authority_pda: Pubkey,
pub mint_authority: Pubkey,
pub payer: Pubkey,
pub nft_owner: Pubkey,
pub nft_mint: Pubkey,
pub nft_mint_authority: Pubkey,
pub nft_metadata: Pubkey,
pub nft_master_edition: Pubkey,
pub token: Option<Pubkey>,
pub token_record: Option<Pubkey>,
pub collection_delegate_record: Pubkey,
pub collection_mint: Pubkey,
pub collection_metadata: Pubkey,
pub collection_master_edition: Pubkey,
pub collection_update_authority: Pubkey,
pub token_metadata_program: Pubkey,
pub spl_token_program: Pubkey,
pub spl_ata_program: Option<Pubkey>,
pub system_program: Pubkey,
pub sysvar_instructions: Pubkey,
pub recent_slothashes: Pubkey,
pub authorization_rules_program: Option<Pubkey>,
pub authorization_rules: Option<Pubkey>,
}
Expand description
Generated client accounts for MintV2
.
Fields§
§candy_machine: Pubkey
Candy machine account.
Candy machine authority account. This is the account that holds a delegate to verify an item into the collection.
Candy machine mint authority (mint only allowed for the mint_authority).
payer: Pubkey
Payer for the transaction and account allocation (rent).
nft_owner: Pubkey
NFT account owner.
nft_mint: Pubkey
Mint account of the NFT. The account will be initialized if necessary.
Mint authority of the NFT. In most cases this will be the owner of the NFT.
nft_metadata: Pubkey
Metadata account of the NFT. This account must be uninitialized.
nft_master_edition: Pubkey
Master edition account of the NFT. The account will be initialized if necessary.
token: Option<Pubkey>
Destination token account (required for pNFT).
token_record: Option<Pubkey>
Token record (required for pNFT).
collection_delegate_record: Pubkey
Collection authority or metadata delegate record.
collection_mint: Pubkey
Mint account of the collection NFT.
collection_metadata: Pubkey
Metadata account of the collection NFT.
collection_master_edition: Pubkey
Master edition account of the collection NFT.
Update authority of the collection NFT.
token_metadata_program: Pubkey
Token Metadata program.
spl_token_program: Pubkey
SPL Token program.
spl_ata_program: Option<Pubkey>
SPL Associated Token program.
system_program: Pubkey
System program.
sysvar_instructions: Pubkey
Instructions sysvar account.
recent_slothashes: Pubkey
SlotHashes sysvar cluster data.
Token Authorization Rules program.
Token Authorization rules account for the collection metadata (if any).
Trait Implementations§
source§impl ToAccountMetas for MintV2
impl ToAccountMetas for MintV2
source§fn to_account_metas(&self, is_signer: Option<bool>) -> Vec<AccountMeta> ⓘ
fn to_account_metas(&self, is_signer: Option<bool>) -> Vec<AccountMeta> ⓘ
is_signer
is given as an optional override for the signer meta field.
This covers the edge case when a program-derived-address needs to relay
a transaction from a client to another program but sign the transaction
before the relay. The client cannot mark the field as a signer, and so
we have to override the is_signer meta field given by the client.