Retrieve RPC URL the user is using
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 20/100
- Issue type
- Feature
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- typescript
- Domain
- api, blockchain
Research direction
Start by reviewing the provider API behavior around wallet_addEthereumChain and the linked MetaMask discussions. The issue names no source files or tests, so first determine whether the current RPC URL is exposed at all. Done means establishing a supported retrieval mechanism or clearly documenting that it is unavailable.
Written by the indexing model from the issue text.
Description
Hey All,
I have a question about whether or not it is possible to retrieve the RPC URL the user currently has for a particular chain ID?
I've seen a couple of similar questions but no concrete answers so my current knowledge leads to think there is no simple way to get this information from Metamask.
https://ethereum.stackexchange.com/questions/91111/recover-rpc-url-in-metamask?noredirect=1&lq=1
https://ethereum.stackexchange.com/questions/69782/get-rpc-url-ip-of-metamasks-current-provider?noredirect=1&lq=1
The reason I am looking for something like this is because when we ask a user to add a new chain configuration using wallet_addEthereumChain , if the RPC endpoint/node provider we initially supplied stops working then we would like to be able to check this against some other providers, inform users about this and request they find a new public RPC endpoint etc.
Thanks!
Richard
- Dominant language
- TypeScript
- Stars
- 268
- Forks
- 130
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from MetaMask/providers
-
Difficulty 4/5 3-5 days Newbie friendliness 38/100
-
Difficulty 4/5 3-5 days Newbie friendliness 42/100
-
Difficulty 3/5 1-2 days Newbie friendliness 25/100
-
Difficulty 1/5 Under an hour Newbie friendliness 58/100
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
All issues in MetaMask/providers
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
linagora/twake-calendar-frontend#1377 · 1 comment ·
-
Difficulty 1/5 Under an hour Newbie friendliness 72/100
EclipseFdn/open-vsx.org#13385 · 1 comment ·
-
front-end UI/UX
Difficulty 1/5 Under an hour Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
S: triage
Difficulty 1/5 Under an hour Newbie friendliness 85/100