code was working fine a few hours ago but I am getting this error now
{ code:141,error: 'Invalid hex number' }
I have tried to update and restart my server as well as tried to delete and create a new server instance, but to no avail.
I am trying to use the getNFT function under the Web3API Accounts APIs
This is my code:
async getNFTs() {
try{
const address = Moralis.User.current.name;
this.testnetNFTs = await Moralis.Web3API.account.getNFTs({ chain: 'rinkeby', address: address });
} catch(e) {
console.log(e);
}
}