Retrieve RPC (chainconfig) from dashboard v10

SDK Version (package.json): v10
Platform: Web

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—such as wagmi. Is there an officially supported method or recommended approach for this?

Thanks in advance!

Here’s a summary of your question and the relevant context for the support team:


Issue Summary

  • SDK: Web3Auth Plug and Play (PnP) Web SDK
  • SDK Version: v10
  • Platform: Web
  • Question:
    You want to programmatically retrieve the RPC endpoints (chain configuration) that are configured in your Web3Auth dashboard, ideally to use them dynamically (e.g., with wagmi or other SDKs). You’re looking for an officially supported or recommended approach for accessing these values in your code.

What We Know


What’s Missing / Next Steps

  • Official API: There is currently no public API or SDK method to fetch the chainConfig/RPCs from the dashboard directly in your frontend code.
  • Recommended Approach:
    • The SDK abstracts the chain config and uses the dashboard settings internally.
    • If you need the RPC URLs for other SDKs (like wagmi), you’ll need to manually replicate the RPC endpoints in your app config or maintain a shared config between your dashboard and codebase.
    • Alternatively, you can retrieve your chain/RPC config from the dashboard UI and use it in your code as needed.

Proposed Solution / Feature Request

  • Current Limitation:
    There is no built-in way to programmatically fetch the dashboard-configured chainConfig/RPC endpoints at runtime via the SDK.
  • Feature Request:
    If you’d like this feature, please let us know and we can escalate it as a feature request to the product team.

References


If your use case requires dynamic access to these values, could you share a bit more about your workflow or why this is important for your integration? This will help the team understand the priority and suggest possible workarounds or improvements.

Let me know if you have any other questions or need example code for manual config sharing!

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

If this feature isn’t currently available, I’d like to submit a feature request, as I believe it would be valuable to many developers.

1 Like