@metamask/selected-network-controller
TypeScript icon, indicating that this package has built-in type declarations

15.0.0 • Public • Published

@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.

Readme

Keywords

Package Sidebar

Install

npm i @metamask/selected-network-controller

Weekly Downloads

2,112

Version

15.0.0

License

MIT

Unpacked Size

154 kB

Total Files

31

Last publish

Collaborators

  • mcmire
  • nicholasellul
  • lgbot
  • naugtur
  • ritave
  • danfinlay
  • kumavis
  • rekmarks
  • metamaskbot
  • gudahtt
  • sethkfman