spl_token_2022::extension::transfer_hook::instruction

Function update

Source
pub fn update(
    token_program_id: &Pubkey,
    mint: &Pubkey,
    authority: &Pubkey,
    signers: &[&Pubkey],
    transfer_hook_program_id: Option<Pubkey>,
) -> Result<Instruction, ProgramError>
Expand description

Create an Update instruction