Interface SwitchNetworkParams

Interface representing the parameters for Checkout.switchNetwork.

interface SwitchNetworkParams {
    provider: Web3Provider;
    chainId: ChainId;
}

Properties

Properties

provider: Web3Provider

The provider to connect to the network.

chainId: ChainId

The ID of the network to switch to.