So my Dapp right now operates on Polygon Mumbai Network
and i try to get user balance by running this function
const fetchTokenBalances = async () => {
const options = {
chain: "mumbai",
address: walletAddress
};
const balances = await Web3Api.account.getTokenBalances(options);
};
i already connected to metamask
but whenever i try to run the function its always return me an empty array.
anyone can help me? thanks!