I am receiving the error: "Unhandled Rejection (TypeError): this.provider[(intermediate value)(intermediate value)(intermediate value)] is not a function".

However, I have not used "this.provider" in my code. My code is provided below. Does anyone know how I could resolve this?

Help would be insanely appreciated!

1 Answer 1


Change this:


To this:


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.