Get token metadata is not full for some contract address

Hi, I have a contract β€œ0xdf7952b35f24acf7fc0487d01c8d5690a60dba07”
when i run code for get token metadata by code

const options = { chain: "bsc", addresses: "0xdf7952b35f24acf7fc0487d01c8d5690a60dba07" };
const tokenMetadata = await Moralis.Web3API.token.getTokenMetadata(options);

result is empty for name and symbol of token, has other way to get token info by contract ?


Now I think that problem is because that token it doesn’t seem to be an ERC20 token, it seems to be BEP-721

1 Like

Now, i have resolved by ethers

const contract = new ethers.Contract(address, abi, provider);

      const [name, symbol, decimals] = await Promise.all([,




      return { decimals, name, symbol };

Its ok!

1 Like