Hi, I’m looking for a way to programmatically retrieve the RPCs listed in the Web3Auth dashboard. Ideally, I’d like to access them dynamically in my code to use when initializing other SDKs. Is there an officially supported method or recommended approach for this?
Here’s a summary of your request for the support team:
User Request:
You want to programmatically retrieve the RPC (chain/network) configurations that are set up in your Web3Auth dashboard, so you can dynamically use them in your code (for example, when initializing other SDKs).
SDK Version: v10
Platform: Web
SDK Package: Not explicitly mentioned, but likely @web3auth/modal or similar.
What you’re looking for:
An officially supported way (API or SDK method) to fetch the list of RPCs/chains configured in the Web3Auth dashboard at runtime, instead of hardcoding them or manually syncing settings.
Currently, you configure chains in the dashboard for your project, but to use them in code, you must manually specify them in the SDK initialization (using the chains parameter).
There is no documented API or SDK method to fetch the dashboard’s chain/RPC list dynamically at runtime.
Proposed Solution / Next Steps
At this time, there is no officially supported method to programmatically fetch the chain/RPC configurations from the Web3Auth dashboard. You must manually sync your dashboard settings with your code by:
Copying the chain configs from the dashboard and specifying them in your SDK initialization (see Custom Chains Docs).
If you’d like this feature to be considered, the support team will treat this as a feature request. If you have a specific use case or workflow, feel free to share more details to help prioritize the request!
Let us know if you have any other questions or need further clarification!
Note: This response was generated by an AI bot and may require further verification. The Web3Auth support team has tracked this issue and will be responding as soon as possible.
Additionally, we would recommend you to join our biweekly Office Hours to get this resolved even faster. Web3Auth Developer Office Hours
The RPCs can be configured on the dashboard, but let’s say you are looking to have multiple RPCs and switch between them on the fly, that functionality is not yet offered. Please let me know if I am understanding this correctly.