ethers.js/packages/networks/lib.esm/index.d.ts

10 lines
294 B
TypeScript
Raw Permalink Normal View History

2019-05-14 18:48:48 -04:00
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;