pub struct MintNewEditionFromMasterEditionViaToken {Show 14 fields
pub new_metadata: Pubkey,
pub new_edition: Pubkey,
pub master_edition: Pubkey,
pub new_mint: Pubkey,
pub edition_mark_pda: Pubkey,
pub new_mint_authority: Pubkey,
pub payer: Pubkey,
pub token_account_owner: Pubkey,
pub token_account: Pubkey,
pub new_metadata_update_authority: Pubkey,
pub metadata: Pubkey,
pub token_program: Pubkey,
pub system_program: Pubkey,
pub rent: Option<Pubkey>,
}
Expand description
Accounts.
Fields§
§new_metadata: Pubkey
New Metadata key (pda of [‘metadata’, program id, mint id])
new_edition: Pubkey
New Edition (pda of [‘metadata’, program id, mint id, ‘edition’])
master_edition: Pubkey
Master Record Edition V2 (pda of [‘metadata’, program id, master metadata mint id, ‘edition’])
new_mint: Pubkey
Mint of new token - THIS WILL TRANSFER AUTHORITY AWAY FROM THIS KEY
edition_mark_pda: Pubkey
Edition pda to mark creation - will be checked for pre-existence. (pda of [‘metadata’, program id, master metadata mint id, ‘edition’, edition_number]) where edition_number is NOT the edition number you pass in args but actually edition_number = floor(edition/EDITION_MARKER_BIT_SIZE).
Mint authority of new mint
payer: Pubkey
payer
token_account_owner: Pubkey
owner of token account containing master token (#8)
token_account: Pubkey
token account containing token from master metadata mint
Update authority info for new metadata
metadata: Pubkey
Master record metadata account
token_program: Pubkey
Token program
system_program: Pubkey
System program
rent: Option<Pubkey>
Rent info