import { JSONSchema, ValidateFunction } from '../validation'; import { ChainName } from './chain-name'; import { Network } from './network'; /** * Different supported chain ids * @alpha */ export declare enum ChainId { ETHEREUM_MAINNET = 1, ETHEREUM_ROPSTEN = 3, ETHEREUM_RINKEBY = 4, ETHEREUM_GOERLI = 5, ETHEREUM_KOVAN = 42, ETHEREUM_SEPOLIA = 11155111, MATIC_MAINNET = 137, MATIC_MUMBAI = 80001, MATIC_AMOY = 80002, BSC_MAINNET = 56, OPTIMISM_MAINNET = 10, ARBITRUM_MAINNET = 42161, FANTOM_MAINNET = 250, AVALANCHE_MAINNET = 43114 } /** * Get the chain name by chain id * @alpha */ export declare function getChainName(chainId: ChainId): ChainName | null; /** * Get the chain name by chain id * @alpha */ export declare function getURNProtocol(chainId: ChainId): string; /** * Using a base chain id, it'll map the corresponding chain id for the ethereum and matic networks. * For example, if trying to determine which chain id is used to map Goerli in Matic you'd do: * getNetworkMapping(ChainId.ETHEREUM_GOERLI)[Network.MATIC] * @alpha */ export declare function getNetworkMapping(chainId: ChainId): Record; /** * Get's the network for a specific chain id * @alpha */ export declare function getNetwork(chainId: ChainId): Network; /** * @alpha */ export declare namespace ChainId { const schema: JSONSchema; const validate: ValidateFunction; } //# sourceMappingURL=chain-id.d.ts.map