- If you open chrome devtools beforehand, there is no error.
- The same problem is observed with TronLink wallet, which like MetaMask inserts its functions into window object.
Therefore, the error is most likely in the interaction with the window object.


