Interface SwitchNetworkParams

Interface representing the parameters for Checkout.switchNetwork.

interface SwitchNetworkParams {
    provider: WrappedBrowserProvider | Eip1193Provider;
    chainId: ChainId;
}

Properties

Properties

provider: WrappedBrowserProvider | Eip1193Provider

The provider to connect to the network.

chainId: ChainId

The ID of the network to switch to.

""