Type Alias WalletNetworkSwitch

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

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: WrappedBrowserProvider

    The WrappedBrowserProvider object for the switched network.

""