Struct mpl_token_metadata::instruction::builders::Update
source · pub struct Update {
pub authority: Pubkey,
pub delegate_record: Option<Pubkey>,
pub token: Option<Pubkey>,
pub mint: Pubkey,
pub metadata: Pubkey,
pub edition: Option<Pubkey>,
pub payer: Pubkey,
pub system_program: Pubkey,
pub sysvar_instructions: Pubkey,
pub authorization_rules_program: Option<Pubkey>,
pub authorization_rules: Option<Pubkey>,
pub args: UpdateArgs,
}
Fields§
§delegate_record: Option<Pubkey>
§token: Option<Pubkey>
§mint: Pubkey
§metadata: Pubkey
§edition: Option<Pubkey>
§payer: Pubkey
§system_program: Pubkey
§sysvar_instructions: Pubkey
§args: UpdateArgs
Trait Implementations§
source§impl InstructionBuilder for Update
impl InstructionBuilder for Update
Updates the metadata of an asset.
Accounts:
[signer]
Update authority or delegate[optional]
Delegate record PDA[optional]
Token account[]
Mint account[writable]
Metadata account[optional]
Edition account[signer]
Payer[]
System program[]
System program[optional]
Token Authorization Rules Program[optional]
Token Authorization Rules account