solana_sdk::loader_v4

Function transfer_authority

source
pub fn transfer_authority(
    program_address: &Pubkey,
    authority: &Pubkey,
    new_authority: Option<&Pubkey>,
) -> Instruction
Expand description

Returns the instructions required to transfer authority over a program.