spl_token_2022::extension::default_account_state::instruction

Function initialize_default_account_state

Source
pub fn initialize_default_account_state(
    token_program_id: &Pubkey,
    mint: &Pubkey,
    state: &AccountState,
) -> Result<Instruction, ProgramError>
Expand description

Create an Initialize instruction