@ethersproject/networks
- Version 5.7.1
- Published
- 47.5 kB
- 1 dependency
- MIT license
Install
npm i @ethersproject/networks
yarn add @ethersproject/networks
pnpm add @ethersproject/networks
Overview
Network definitions for ethers.
Index
Functions
Type Aliases
Functions
function getNetwork
getNetwork: (network: Networkish) => Network;
getNetwork
Converts a named common networks or chain ID (network ID) to a Network and verifies a network is a valid Network..
Type Aliases
type Network
type Network = { name: string; chainId: number; ensAddress?: string; _defaultProvider?: (providers: any, options?: any) => any;};
type Networkish
type Networkish = Network | string | number;
Package Files (2)
Dependencies (1)
Dev Dependencies (0)
No dev dependencies.
Peer Dependencies (0)
No peer dependencies.
Badge
To add a badge like this oneto your package's README, use the codes available below.
You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/@ethersproject/networks
.
- Markdown[![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/@ethersproject/networks)
- HTML<a href="https://www.jsdocs.io/package/@ethersproject/networks"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>
- Updated .
Package analyzed in 2085 ms. - Missing or incorrect documentation? Open an issue for this package.