Crate graph_networks_registry

Source
Expand description

Networks Registry for managing blockchain network configurations

§Main Types

§Example

use graph_networks_registry::NetworksRegistry;

// Load the latest registry from online source
let registry = NetworksRegistry::from_latest_version().await?;

// Look up a network by ID
let mainnet = registry.get_network_by_id("mainnet");

§Additional Types

  • Network - Individual network configuration

Structs§

Enums§