@byzantine/vault-sdk
Version:
Byzantine Vault SDK for creating and managing vaults on Ethereum for restaking strategies
18 lines (17 loc) • 673 B
TypeScript
/**
* Network utilities for the Byzantine Factory SDK
*/
import { NetworkConfig, ChainsOptions } from "../types";
export declare const NETWORK_CONFIGS: Record<number, NetworkConfig>;
/**
* Get network configuration for a specific chain ID
* @param chainId The chain ID to get configuration for
* @returns The network configuration or undefined if not supported
*/
export declare function getNetworkConfig(chainId: ChainsOptions): NetworkConfig;
/**
* Check if a chain ID is supported
* @param chainId The chain ID to check
* @returns True if the chain ID is supported, false otherwise
*/
export declare function isChainSupported(chainId: ChainsOptions): boolean;