Skip to main content

Documentation Index

Fetch the complete documentation index at: https://turnkey-0e7c1f5b-ethan-captcha-protection.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

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

params
SwitchWalletAccountChainParams
required

Response

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