Hello,
I want to report an issue with the getNativeBalance method. Yesterday was working fine, but today is giving the next error:
(node:9961) UnhandledPromiseRejectionWarning: Error: [object Object]
at handleError (/node_modules/moralis/lib/node/RESTController.js:429:17)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (internal/process/task_queues.js:95:5)
I had this issue in the past with the method named getAllERC20, but now I am receiving this with this method that never failed in the past.
Here is my code:
const walletBalanceETH = await Moralis.Web3API.account.getNativeBalance({ address: walletAddress, chain: 'rinkeby' })
What I am doing wrong? In advance thanks a lot