Function spl_governance::tools::spl_token::get_spl_token_amount[][src]

pub fn get_spl_token_amount(
    token_account_info: &AccountInfo<'_>
) -> Result<u64, ProgramError>
Expand description

Computationally cheap method to get amount from a token account It reads amount without deserializing full account data