solana_account_decoder::parse_token

Function parse_token

source
pub fn parse_token(
    data: &[u8],
    mint_decimals: Option<u8>,
) -> Result<TokenAccountType, ParseAccountError>