spl_token_2022::extension::group_pointer::instruction

Function initialize

Source
pub fn initialize(
    token_program_id: &Pubkey,
    mint: &Pubkey,
    authority: Option<Pubkey>,
    group_address: Option<Pubkey>,
) -> Result<Instruction, ProgramError>
Expand description

Create an Initialize instruction