Struct mpl_token_metadata::instruction::builders::Create
source · pub struct Create {
pub metadata: Pubkey,
pub master_edition: Option<Pubkey>,
pub mint: Pubkey,
pub authority: Pubkey,
pub payer: Pubkey,
pub update_authority: Pubkey,
pub system_program: Pubkey,
pub sysvar_instructions: Pubkey,
pub spl_token_program: Pubkey,
pub initialize_mint: bool,
pub update_authority_as_signer: bool,
pub args: CreateArgs,
}
Fields§
§metadata: Pubkey
§master_edition: Option<Pubkey>
§mint: Pubkey
§payer: Pubkey
§system_program: Pubkey
§sysvar_instructions: Pubkey
§spl_token_program: Pubkey
§initialize_mint: bool
§args: CreateArgs
Trait Implementations§
source§impl InstructionBuilder for Create
impl InstructionBuilder for Create
Builds the instruction to create metadata and associated accounts.
Accounts:
[writable]
Metadata account[optional, writable]
Master edition account[writable]
Mint account[signer]
Mint authority[signer]
Payer[signer]
Update authority[]
System program[]
Instructions sysvar account[]
SPL Token program