Invalid function: "getAllERC20"

Attempting to get tokens using the new Moralis.Web3.getAllERC20() function, have updated to 0.0.25 from npm but getting the error : ParseError: 141 Invalid function: “getAllERC20”

have also updated the server instance to .222

Thanks for reporting this. We are aware of this error and it will be fixed.

Any idea when this will be working? I’ve tried updating the moralis module ( yarn add moralis ) a couple of times, but it still isn’t working :frowning:

This was fixed in server version 0.0.223 try updating

1 Like

It’s deprecated. But deprecated to what? When I try Moralis.Web3API.getAllERC20() I get “not a function”.

Now there are two different functions, one for native balance and one for tokens. You can find them in documentation for Moralis.Web3API.account