Package: react-wallet-kit
Overview
Switches the wallet provider associated with a given wallet account to a different chain.- Requires the wallet manager and its connector to be initialized
- Only works for connected wallet accounts
- Looks up the provider for the given account address
- Does nothing if the provider is already on the desired chain.
Parameters
Response
A successful response returns the following fields:A promise that resolves once the chain switch is complete.