ethers.js/packages/networks/index.d.ts
2019-05-14 18:48:48 -04:00

10 lines
294 B
TypeScript

import { Network, Networkish } from "./types";
export { Network, Networkish };
/**
* getNetwork
*
* Converts a named common networks or chain ID (network ID) to a Network
* and verifies a network is a valid Network..
*/
export declare function getNetwork(network: Networkish): Network;