Docs

SwitchNetwork

Switch the network that the connected wallet is currently connected to.

Usage

sdk.wallet.SwitchNetwork(1);

Configuration

chainId

The ID of the network to switch to.

Must be an BigInteger.