Expand description
Networks Registry for managing blockchain network configurations
§Main Types
NetworksRegistry
- The main struct for managing network configurations
§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§
- Firehose block information
- Genesis block information
- Graph Node specific configuration information
- Icons for the network
- Services available for the network in the ecosystem
- Web3Icons icon - see https://github.com/0xa3k5/web3icons
Enums§
- Kind of API
- Bytes encoding, e.g. hex, 0xhex, base58
- Whether the network is a mainnet/testnet/devnet
- [optional] Protocol name in graph-node, e.g. ethereum, near, arweave
- Kind of relation