# Function chainToChainId

- chainToChainId<K1>(...args): ToExtPropKey<K1> extends "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky"
  ? ObjectFromMappingEntries<readonly [readonly ["Solana", 1], readonly ["Ethereum", 2], readonly ["Terra", 3], readonly ["Bsc", 4], readonly ["Polygon", 5], readonly ["Avalanche", 6], readonly ["Oasis", 7], readonly ["Algorand", 8], readonly ["Aurora", 9], readonly ["Fantom", 10], readonly ["Karura", 11], readonly ["Acala", 12], readonly ["Klaytn", 13], readonly ["Celo", 14], readonly ["Near", 15], readonly ["Moonbeam", 16], readonly ["Neon", 17], readonly ["Terra2", 18], readonly ["Injective", 19], readonly ["Osmosis", 20], readonly ["Sui", 21], readonly ["Aptos", 22], readonly ["Arbitrum", 23], readonly ["Optimism", 24], readonly ["Gnosis", 25], readonly ["Pythnet", 26], readonly ["Xpla", 28], readonly ["Btc", 29], readonly ["Base", 30], readonly ["Sei", 32], readonly ["Rootstock", 33], readonly ["Wormchain", 3104], readonly ["Cosmoshub", 4000], readonly ["Evmos", 4001], readonly ["Kujira", 4002], readonly ["Sepolia", 10002], readonly ["ArbitrumSepolia", 10003], readonly ["BaseSepolia", 10004], readonly ["OptimismSepolia", 10005], readonly ["Holesky", 10006]], 1>[Object] extends Mapped
  ? any[any]
  : ObjectFromMappingEntries<readonly [readonly ["Solana", 1], readonly ["Ethereum", 2], readonly ["Terra", 3], readonly ["Bsc", 4], readonly ["Polygon", 5], readonly ["Avalanche", 6], readonly ["Oasis", 7], readonly ["Algorand", 8], readonly ["Aurora", 9], readonly ["Fantom", 10], readonly ["Karura", 11], readonly ["Acala", 12], readonly ["Klaytn", 13], readonly ["Celo", 14], readonly ["Near", 15], readonly ["Moonbeam", 16], readonly ["Neon", 17], readonly ["Terra2", 18], readonly ["Injective", 19], readonly ["Osmosis", 20], readonly ["Sui", 21], readonly ["Aptos", 22], readonly ["Arbitrum", 23], readonly ["Optimism", 24], readonly ["Gnosis", 25], readonly ["Pythnet", 26], readonly ["Xpla", 28], readonly ["Btc", 29], readonly ["Base", 30], readonly ["Sei", 32], readonly ["Rootstock", 33], readonly ["Wormchain", 3104], readonly ["Cosmoshub", 4000], readonly ["Evmos", 4001], readonly ["Kujira", 4002], readonly ["Sepolia", 10002], readonly ["ArbitrumSepolia", 10003], readonly ["BaseSepolia", 10004], readonly ["OptimismSepolia", 10005], readonly ["Holesky", 10006]], 1>[Object]
  : never

- #### Type Parameters

  - #### K1 extends "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky"

  #### Parameters

  - ##### `Rest` ...args: [K1]

  #### Returns ToExtPropKey<K1> extends "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky"
  ? ObjectFromMappingEntries<readonly [readonly ["Solana", 1], readonly ["Ethereum", 2], readonly ["Terra", 3], readonly ["Bsc", 4], readonly ["Polygon", 5], readonly ["Avalanche", 6], readonly ["Oasis", 7], readonly ["Algorand", 8], readonly ["Aurora", 9], readonly ["Fantom", 10], readonly ["Karura", 11], readonly ["Acala", 12], readonly ["Klaytn", 13], readonly ["Celo", 14], readonly ["Near", 15], readonly ["Moonbeam", 16], readonly ["Neon", 17], readonly ["Terra2", 18], readonly ["Injective", 19], readonly ["Osmosis", 20], readonly ["Sui", 21], readonly ["Aptos", 22], readonly ["Arbitrum", 23], readonly ["Optimism", 24], readonly ["Gnosis", 25], readonly ["Pythnet", 26], readonly ["Xpla", 28], readonly ["Btc", 29], readonly ["Base", 30], readonly ["Sei", 32], readonly ["Rootstock", 33], readonly ["Wormchain", 3104], readonly ["Cosmoshub", 4000], readonly ["Evmos", 4001], readonly ["Kujira", 4002], readonly ["Sepolia", 10002], readonly ["ArbitrumSepolia", 10003], readonly ["BaseSepolia", 10004], readonly ["OptimismSepolia", 10005], readonly ["Holesky", 10006]], 1>[Object] extends Mapped
  ? any[any]
  : ObjectFromMappingEntries<readonly [readonly ["Solana", 1], readonly ["Ethereum", 2], readonly ["Terra", 3], readonly ["Bsc", 4], readonly ["Polygon", 5], readonly ["Avalanche", 6], readonly ["Oasis", 7], readonly ["Algorand", 8], readonly ["Aurora", 9], readonly ["Fantom", 10], readonly ["Karura", 11], readonly ["Acala", 12], readonly ["Klaytn", 13], readonly ["Celo", 14], readonly ["Near", 15], readonly ["Moonbeam", 16], readonly ["Neon", 17], readonly ["Terra2", 18], readonly ["Injective", 19], readonly ["Osmosis", 20], readonly ["Sui", 21], readonly ["Aptos", 22], readonly ["Arbitrum", 23], readonly ["Optimism", 24], readonly ["Gnosis", 25], readonly ["Pythnet", 26], readonly ["Xpla", 28], readonly ["Btc", 29], readonly ["Base", 30], readonly ["Sei", 32], readonly ["Rootstock", 33], readonly ["Wormchain", 3104], readonly ["Cosmoshub", 4000], readonly ["Evmos", 4001], readonly ["Kujira", 4002], readonly ["Sepolia", 10002], readonly ["ArbitrumSepolia", 10003], readonly ["BaseSepolia", 10004], readonly ["OptimismSepolia", 10005], readonly ["Holesky", 10006]], 1>[Object]
  : never

  - Defined in core/base/src/utils/mapping.ts:324

Generated using TypeDoc