pub fn get_mint_decimals(
account_info: &AccountInfo<'_>,
) -> Result<u8, ProgramError>
Expand description
cheap method to just get supply off a mint without unpacking whole object
pub fn get_mint_decimals(
account_info: &AccountInfo<'_>,
) -> Result<u8, ProgramError>
cheap method to just get supply off a mint without unpacking whole object