spl_token_2022::instruction

Function get_account_data_size

Source
pub fn get_account_data_size(
    token_program_id: &Pubkey,
    mint_pubkey: &Pubkey,
    extension_types: &[ExtensionType],
) -> Result<Instruction, ProgramError>
Expand description

Creates a GetAccountDataSize instruction