solana_account_decoder::parse_token

Function parse_token

Source
pub fn parse_token(
    data: &[u8],
    decimals: Option<u8>,
) -> Result<TokenAccountType, ParseAccountError>
👎Deprecated since 2.0.0: Use parse_token_v2 instead