WalletNetworkSwitch: {
    network: string;
    chainId: number;
    provider: Web3Provider;
}

Represents an event that is triggered when the user switches the network in their wallet.

Type declaration

  • network: string

    The name of the network that the user switched to.

  • chainId: number

    The chain ID of the network that the user switched to.

  • provider: Web3Provider

    The Web3 provider object for the switched network.

Generated using TypeDoc