Uncaught (in promise) Error: 'args.method' must be a non-empty string. #2443
Answered
by
alymurtazamemon
decentralized-86
asked this question in
Q&A
-
My index.js code
MY index.html code
|
Beta Was this translation helpful? Give feedback.
Answered by
alymurtazamemon
Sep 9, 2022
Replies: 1 comment
-
-await ethereum.request({ methord: "eth_requestAccounts" });
+await window.ethereum.request({ method: "eth_requestAccounts" }); |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
decentralized-86
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@decentralized-86