Function spl_token::instruction::set_authority [−][src]
pub fn set_authority(
token_program_id: &Pubkey,
owned_pubkey: &Pubkey,
new_authority_pubkey: Option<&Pubkey>,
authority_type: AuthorityType,
owner_pubkey: &Pubkey,
signer_pubkeys: &[&Pubkey]
) -> Result<Instruction, ProgramError>
Creates a SetAuthority
instruction.