Skip to main content

Documentation Index

Fetch the complete documentation index at: https://turnkey-0e7c1f5b-traian-stamp-to-proxy.mintlify.app/llms.txt

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

Package: react-wallet-kit

Overview

Switches the specified wallet provider to a different blockchain chain.
  • Requires the wallet manager and its connector to be initialized.
  • The wallet provider must have at least one connected address.
  • Does nothing if the wallet provider is already on the desired chain.

Parameters

walletProvider
WalletProvider
required
wallet provider to switch.
chainOrId
string | SwitchableChain
required
target chain as a chain ID string or SwitchableChain object.

Response

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