Skip to content

Uncaught (in promise) Error: 'args.method' must be a non-empty string. #2443

Discussion options

You must be logged in to vote

@decentralized-86

-await ethereum.request({ methord: "eth_requestAccounts" });
+await window.ethereum.request({ method: "eth_requestAccounts" });

Replies: 1 comment

Comment options

You must be logged in to vote
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
Category
Q&A
Labels
None yet
2 participants