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

10 lines
294 B
TypeScript
Raw Normal View History

2019-05-15 01:48:48 +03: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;