spl_token_2022::extension::default_account_state::instruction

Function decode_instruction

Source
pub fn decode_instruction(
    input: &[u8],
) -> Result<(DefaultAccountStateInstruction, AccountState), ProgramError>
Expand description

Utility function for decoding a DefaultAccountState instruction and its data