You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@metamask/selected-network-controller

Package Overview
Dependencies
Maintainers
9
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@metamask/selected-network-controller

Provides an interface to the currently selected networkClientId for a given domain

23.0.0
latest
Source
npmnpm
Version published
Weekly downloads
15K
-36%
Maintainers
9
Weekly downloads
 
Created
Source

@metamask/selected-network-controller

Provides an interface to the currently selected networkClientId for a given domain.

Domain here means one of two things:

  • the jsonrpc request originated from a dapp (domain is the origin/url of the dapp)
  • the jsonrpc request originated interally to metamask (the domain is here is 'metamask')

Installation

yarn add @metamask/selected-network-controller

or

npm install @metamask/selected-network-controller

Contributing

This package is part of a monorepo. Instructions for contributing can be found in the monorepo README.

Keywords

MetaMask

FAQs

Package last updated on 18 Jun 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts