/** * Network Types * * Network configuration and endpoint types for the Monaco SDK. */ /** * Supported network types for the Monaco SDK. * * Must be one of the preset networks: * - "local": http://localhost:8080 * - "development": https://develop.apimonaco.xyz * - "staging": https://staging.apimonaco.xyz * - "mainnet": https://api.monaco.xyz */ export type Network = "mainnet" | "development" | "staging" | "local"; /** * Network endpoint configuration for the Monaco SDK. * * Contains the RPC URL and API URL for each supported network. * WebSocket connections use the API URL with /ws endpoint and the access token is passed as a query parameter. */ export interface NetworkEndpoints { rpcUrl: string; apiUrl: string; }