Creates a new NetworksRegistry instance.
The parsed NetworksRegistry data
Gets the date of the last update of the registry.
Date object
Gets the version of the loaded registry.
Version string
Static
fromFetches and loads a specific version of the networks registry.
The exact version to fetch (e.g. "0.5.0")
Promise that resolves to a new NetworksRegistry instance
Static
fromLoads the networks registry from a local JSON file.
Path to the JSON file
A new NetworksRegistry instance
Static
fromCreates a new registry instance from a JSON string.
The JSON string containing registry data
A new NetworksRegistry instance
Static
fromFetches and loads the latest version of the networks registry. Uses the library version to determine the latest compatible registry URL. Library version 0.5.x will use the latest registry version 0.5.y even if 0.6.z is available
Promise that resolves to a new NetworksRegistry instance
Static
fromLoads the networks registry from a URL.
The URL to fetch the registry from
Promise that resolves to a new NetworksRegistry instance
Static
getStatic
get
Client for interacting with The Graph Networks Registry. Provides methods to load the registry from json, file or URL.