Variable networkIdsConst

networkIds: Record<string, number> = ...

networkIds is a POJO that maps a network name to it's ethereum network ID.

Example

let networkId = networkIds["sokol"]; // 77

Also, networks is an inverted networkIds POJO if you need to go in the other direction.

let networkName = networks[77]; // "sokol"

Generated using TypeDoc