# Function platformToChains

- platformToChains<K1>(args_0): (K1 extends bigint
  ? `bigint(${K1})`
  : K1 extends boolean
  ? `boolean(${K1})`
  : K1) extends "Solana" | "Algorand" | "Near" | "Sui" | "Aptos" | "Btc" | "Evm" | "Cosmwasm"
  ? {
  Algorand: readonly ["Algorand"];
  Aptos: readonly ["Aptos"];
  Btc: readonly ["Btc"];
  Cosmwasm: readonly ["Cosmoshub", "Evmos", "Injective", "Kujira", "Osmosis", "Sei", "Terra", "Terra2", "Wormchain", "Xpla"];
  Evm: readonly ["Acala", "Arbitrum", "Aurora", "Avalanche", "Base", "Bsc", "Celo", "Ethereum", "Fantom", "Gnosis", "Karura", "Klaytn", "Moonbeam", "Neon", "Oasis", "Optimism", "Polygon", "Rootstock", "Sepolia", "ArbitrumSepolia", "BaseSepolia", "OptimismSepolia", "Holesky"];
  Near: readonly ["Near"];
  Solana: readonly ["Solana", "Pythnet"];
  Sui: readonly ["Sui"];
  }[Object] extends {
  [key: string]: unknown;
  }
  ? {
  Algorand: readonly ["Algorand"];
  Aptos: readonly ["Aptos"];
  Btc: readonly ["Btc"];
  Cosmwasm: readonly ["Cosmoshub", "Evmos", "Injective", "Kujira", "Osmosis", "Sei", "Terra", "Terra2", "Wormchain", "Xpla"];
  Evm: readonly ["Acala", "Arbitrum", "Aurora", "Avalanche", "Base", "Bsc", "Celo", "Ethereum", "Fantom", "Gnosis", "Karura", "Klaytn", "Moonbeam", "Neon", "Oasis", "Optimism", "Polygon", "Rootstock", "Sepolia", "ArbitrumSepolia", "BaseSepolia", "OptimismSepolia", "Holesky"];
  Near: readonly ["Near"];
  Solana: readonly ["Solana", "Pythnet"];
  Sui: readonly ["Sui"];
  }[Object]
  : {
  Algorand: readonly ["Algorand"];
  Aptos: readonly ["Aptos"];
  Btc: readonly ["Btc"];
  Cosmwasm: readonly ["Cosmoshub", "Evmos", "Injective", "Kujira", "Osmosis", "Sei", "Terra", "Terra2", "Wormchain", "Xpla"];
  Evm: readonly ["Acala", "Arbitrum", "Aurora", "Avalanche", "Base", "Bsc", "Celo", "Ethereum", "Fantom", "Gnosis", "Karura", "Klaytn", "Moonbeam", "Neon", "Oasis", "Optimism", "Polygon", "Rootstock", "Sepolia", "ArbitrumSepolia", "BaseSepolia", "OptimismSepolia", "Holesky"];
  Near: readonly ["Near"];
  Solana: readonly ["Solana", "Pythnet"];
  Sui: readonly ["Sui"];
  }[Object]
  : never

- #### Type Parameters

  - #### K1 extends "Solana" | "Algorand" | "Near" | "Sui" | "Aptos" | "Btc" | "Evm" | "Cosmwasm"

  #### Parameters

  - ##### args_0: K1

  #### Returns (K1 extends bigint
  ? `bigint(${K1})`
  : K1 extends boolean
  ? `boolean(${K1})`
  : K1) extends "Solana" | "Algorand" | "Near" | "Sui" | "Aptos" | "Btc" | "Evm" | "Cosmwasm"
  ? {
  Algorand: readonly ["Algorand"];
  Aptos: readonly ["Aptos"];
  Btc: readonly ["Btc"];
  Cosmwasm: readonly ["Cosmoshub", "Evmos", "Injective", "Kujira", "Osmosis", "Sei", "Terra", "Terra2", "Wormchain", "Xpla"];
  Evm: readonly ["Acala", "Arbitrum", "Aurora", "Avalanche", "Base", "Bsc", "Celo", "Ethereum", "Fantom", "Gnosis", "Karura", "Klaytn", "Moonbeam", "Neon", "Oasis", "Optimism", "Polygon", "Rootstock", "Sepolia", "ArbitrumSepolia", "BaseSepolia", "OptimismSepolia", "Holesky"];
  Near: readonly ["Near"];
  Solana: readonly ["Solana", "Pythnet"];
  Sui: readonly ["Sui"];
  }[Object] extends {
  [key: string]: unknown;
  }
  ? {
  Algorand: readonly ["Algorand"];
  Aptos: readonly ["Aptos"];
  Btc: readonly ["Btc"];
  Cosmwasm: readonly ["Cosmoshub", "Evmos", "Injective", "Kujira", "Osmosis", "Sei", "Terra", "Terra2", "Wormchain", "Xpla"];
  Evm: readonly ["Acala", "Arbitrum", "Aurora", "Avalanche", "Base", "Bsc", "Celo", "Ethereum", "Fantom", "Gnosis", "Karura", "Klaytn", "Moonbeam", "Neon", "Oasis", "Optimism", "Polygon", "Rootstock", "Sepolia", "ArbitrumSepolia", "BaseSepolia", "OptimismSepolia", "Holesky"];
  Near: readonly ["Near"];
  Solana: readonly ["Solana", "Pythnet"];
  Sui: readonly ["Sui"];
  }[Object]
  : {
  Algorand: readonly ["Algorand"];
  Aptos: readonly ["Aptos"];
  Btc: readonly ["Btc"];
  Cosmwasm: readonly ["Cosmoshub", "Evmos", "Injective", "Kujira", "Osmosis", "Sei", "Terra", "Terra2", "Wormchain", "Xpla"];
  Evm: readonly ["Acala", "Arbitrum", "Aurora", "Avalanche", "Base", "Bsc", "Celo", "Ethereum", "Fantom", "Gnosis", "Karura", "Klaytn", "Moonbeam", "Neon", "Oasis", "Optimism", "Polygon", "Rootstock", "Sepolia", "ArbitrumSepolia", "BaseSepolia", "OptimismSepolia", "Holesky"];
  Near: readonly ["Near"];
  Solana: readonly ["Solana", "Pythnet"];
  Sui: readonly ["Sui"];
  }[Object]
  : never

  - Defined in core/base/dist/esm/constants/platforms.d.ts:4

Generated using TypeDoc