-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
getNetwork allow optional chainId and network name #85
Comments
Hey, are we trying to implement something like this? Look for getNetwork function in this file. |
@iadnanmalik Great question. I just updated the first comment above so that it's explained better. I realize now that since this introduces a new TS type, it's not a "good first issue". If it's still interesting to you feel free to try it out! |
I tried to send a string or id in the post request via params but it gave an error. Not sure if |
Oh, interesting. It sounds like this might need a different JSON RPC If you want to run |
Sure will try that! |
@iadnanmalik How is it going? Do you want any help getting started on this one? I can unassign you if you're no longer interested in this. |
Yea, sorry @dawsbot I got super busy in other stuff. Unassign me for now, and I'll come back after a while! |
The function already exists in
essential-eth
, but it does not accept any params. The params should be optional and introduce a new typeNetworkish
https://docs.ethers.io/v5/api/providers/#providers--networks
The text was updated successfully, but these errors were encountered: