Hi all,
I am currently on the “Metamask Balances” lesson in the [2021 JavaScript Programming for Blockchain Developers].
I have 0.3 ETH in my Metamask under the Rinkeby Test Network however I am unable to see this in my balance when I console.log balances.
This is my current code for which I get an empty array. Appreciate any help!
async function getStats() {
const balances = await Moralis.Web3API.account.getTokenBalances({chain: 'polygon'});
console.log(balances);
}