# Function chainToPlatform

- chainToPlatform<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<[["Acala", "Evm"], ["Arbitrum", "Evm"], ["Aurora", "Evm"], ["Avalanche", "Evm"], ["Base", "Evm"], ["Bsc", "Evm"], ["Celo", "Evm"], ["Ethereum", "Evm"], ["Fantom", "Evm"], ["Gnosis", "Evm"], ["Karura", "Evm"]], 1>[Object] extends Mapped
  ? any[any]
  : ObjectFromMappingEntries<[["Acala", "Evm"], ["Arbitrum", "Evm"], ["Aurora", "Evm"], ["Avalanche", "Evm"], ["Base", "Evm"], ["Bsc", "Evm"], ["Celo", "Evm"], ["Ethereum", "Evm"], ["Fantom", "Evm"], ["Gnosis", "Evm"], ["Karura", "Evm"]], 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<[["Acala", "Evm"], ["Arbitrum", "Evm"], ["Aurora", "Evm"], ["Avalanche", "Evm"], ["Base", "Evm"], ["Bsc", "Evm"], ["Celo", "Evm"], ["Ethereum", "Evm"], ["Fantom", "Evm"], ["Gnosis", "Evm"], ["Karura", "Evm"]], 1>[Object] extends Mapped
  ? any[any]
  : ObjectFromMappingEntries<[["Acala", "Evm"], ["Arbitrum", "Evm"], ["Aurora", "Evm"], ["Avalanche", "Evm"], ["Base", "Evm"], ["Bsc", "Evm"], ["Celo", "Evm"], ["Ethereum", "Evm"], ["Fantom", "Evm"], ["Gnosis", "Evm"], ["Karura", "Evm"]], 1>[Object]
  : never

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

Generated using TypeDoc