UNPKG

@byzantine/vault-sdk

Version:

Byzantine Vault SDK for creating and managing vaults on Ethereum for restaking strategies

24 lines (23 loc) 896 B
/** * Network configurations for Byzantine Deposit contract */ import { NetworkConfig, ChainsOptions } from "../types"; export declare const ETH_TOKEN_ADDRESS = "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE"; export declare const NETWORKS: Record<number, NetworkConfig>; /** * Gets network configuration for the specified chain ID * @param chainId - The chain ID to get configuration for * @returns Network configuration or undefined if not supported */ export declare function getNetworkConfig(chainId: ChainsOptions): NetworkConfig; /** * Gets supported chain IDs * @returns Array of supported chain IDs */ export declare function getSupportedChainIds(): number[]; /** * 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;