/** * Resolves a network name from a network id. * @param networkId The network id to resolve the name for * @returns The network name for the network id. If the network id is not found, returns "unknown" */ export declare function getNetworkName(networkId: number | string): string; /** * Resolves a native token symbol from a chain id. * @param chainId The chain id to resolve the native token symbol for * @returns The native token symbol for the chain id. If the chain id is not found, returns "ETH" */ export declare function getNativeTokenSymbol(chainId: number | string): string; /** * Determines whether a chain ID is part of the production network. * @param chainId Chain ID to query. * @returns true if the chain ID is part of the production network, otherwise false. */ export declare function chainIsProd(chainId: number): boolean; /** * Determines whether a chain ID is part of the production network. * @param chainId Chain ID to query. * @returns true if the chain ID is part of the production network, otherwise false. */ export declare function chainIsTestnet(chainId: number): boolean; /** * Determines whether a chain ID is a Polygon implementation. * @param chainId Chain ID to evaluate. * @returns True if chainId is a Polygon chain (mainnet or testnet), otherwise false. */ export declare function chainIsMatic(chainId: number): boolean; /** * Determines whether a chain ID is an Optimism OP Stack implementation. * @param chainId Chain ID to evaluate. * @returns True if chainId is an OP stack, otherwise false. */ export declare function chainIsOPStack(chainId: number): boolean; /** * Determines whether a chain ID is a ZkStack implementation. * @param chainId Chain ID to evaluate. * @returns True if chainId is a ZkStack chain, otherwise false. */ export declare function chainIsZkStack(chainId: number): boolean; /** * Determines whether a chain ID is an Arbitrum Orbit implementation. * @param chainId Chain ID to evaluate. * @returns True if chainId is an Orbit chain, otherwise false. */ export declare function chainIsOrbit(chainId: number): boolean; /** * Determines whether a chain ID is an Arbitrum implementation. * @param chainId Chain ID to evaluate. * @returns True if chainId is an Arbitrum chain, otherwise false. */ export declare function chainIsArbitrum(chainId: number): boolean; /** * Determines whether a chain ID is an Aleph0 implementation * @param chainId Chain ID to evaluate * @returns True if chainId is an Aleph0 chain, otherwise false. */ export declare function chainIsAlephZero(chainId: number): boolean; /** * Determines whether a chain ID is a Lens implementation * @param chainId Chain ID to evaluate * @returns True if chainId is a Lens chain, otherwise false. */ export declare function chainIsLens(chainId: number): boolean; /** * Determines whether a chain ID is a Linea implementation. * @param chainId Chain ID to evaluate. * @returns True if chainId is a Linea chain, otherwise false. */ export declare function chainIsLinea(chainId: number): boolean; /** * Determines whether a chain ID has a corresponding hub pool contract. * @param chainId Chain ID to evaluate. * @returns True if chain corresponding to chainId has a hub pool implementation. */ export declare function chainIsL1(chainId: number): boolean; /** * Determines whether a chain ID has the capacity for having its USDC bridged via CCTP. * @param chainId Chain ID to evaluate. * @returns True if chainId is a CCTP-bridging enabled chain, otherwise false. */ export declare function chainIsCCTPEnabled(chainId: number): boolean; /** * Determines if a chain ID requires a manual L1 -> L2 finalization step. * @param chainId Chain ID to evaluate. * @returns True if chainId requires manual L1 -> L2 finalization, otherwise false. */ export declare function chainRequiresL1ToL2Finalization(chainId: number): boolean; /** * Returns the origin of a URL. * @param url A URL. * @returns The origin of the URL, or "UNKNOWN" if the URL is invalid. */ export declare function getOriginFromURL(url: string): string;