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.

Package: core

Defined in: core.ts:623

Parameters

params
object
required

Response

A successful response returns the following fields:
returns
void
required
A promise that resolves once the chain switch is complete.