Replies: 1 comment 1 reply
-
If you pass no parameters in, you will get a mainnet provider. The first (optional) parameter is the network to connect to (you can pass in a string, like "mainnet" or "sepolia") and the second (also optional) parameter is configuration, such as API keys for the default backends. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, what parameter can I put in getDefaultProvider()? My code requires me to put a parameter
Beta Was this translation helpful? Give feedback.
All reactions