# Function networkChainToNativeChainId

- networkChainToNativeChainId<K1, K2>(...args): ToExtPropKey<K1> extends "Mainnet" | "Testnet" | "Devnet"
  ? ObjectFromMappingEntries<[["Mainnet", [["Aptos", 1n], ["Algorand", "mainnet-v1.0"], ["Near", "mainnet"], ["Cosmoshub", "cosmoshub-4"], ["Evmos", "evmos_9001-2"], ["Injective", "injective-1"], ["Osmosis", "osmosis-1"], ["Sei", "pacific-1"], ["Terra", "columbus-5"]]], ["Testnet", [["Aptos", 2n], ["Algorand", "testnet-v1.0"], ["Near", "testnet"], ["Cosmoshub", "theta-testnet-001"], ["Evmos", "evmos_9000-4"], ["Injective", "injective-888"], ["Osmosis", "osmo-test-5"], ["Sei", "atlantic-2"]]], ["Devnet", [["Aptos", 0n], ["Algorand", "sandnet-v1.0"], ["Evmos", "evmos_devnet_fake"], ["Injective", "injective_devnet_fake"]]]], 2>[Object] extends Mapped
  ? ToExtPropKey<K2> extends keyof ObjectFromMappingEntries<[["Mainnet", [["Aptos", 1n], ["Algorand", "mainnet-v1.0"], ["Near", "mainnet"], ["Cosmoshub", "cosmoshub-4"], ["Evmos", "evmos_9001-2"], ["Injective", "injective-1"], ["Osmosis", "osmosis-1"], ["Sei", "pacific-1"], ["Terra", "columbus-5"]]], ["Testnet", [["Aptos", 2n], ["Algorand", "testnet-v1.0"], ["Near", "testnet"], ["Cosmoshub", "theta-testnet-001"], ["Evmos", "evmos_9000-4"], ["Injective", "injective-888"], ["Osmosis", "osmo-test-5"], ["Sei", "atlantic-2"]]], ["Devnet", [["Aptos", 0n], ["Algorand", "sandnet-v1.0"], ["Evmos", "evmos_devnet_fake"], ["Injective", "injective_devnet_fake"]]]], 2>[Object]
  ? ObjectFromMappingEntries<[["Mainnet", [["Aptos", 1n], ["Algorand", "mainnet-v1.0"], ["Near", "mainnet"], ["Cosmoshub", "cosmoshub-4"], ["Evmos", "evmos_9001-2"], ["Injective", "injective-1"], ["Osmosis", "osmosis-1"], ["Sei", "pacific-1"], ["Terra", "columbus-5"]]], ["Testnet", [["Aptos", 2n], ["Algorand", "testnet-v1.0"], ["Near", "testnet"], ["Cosmoshub", "theta-testnet-001"], ["Evmos", "evmos_9000-4"], ["Injective", "injective-888"], ["Osmosis", "osmo-test-5"], ["Sei", "atlantic-2"]]], ["Devnet", [["Aptos", 0n], ["Algorand", "sandnet-v1.0"], ["Evmos", "evmos_devnet_fake"], ["Injective", "injective_devnet_fake"]]]], 2>[Object][keyof ObjectFromMappingEntries<[["Mainnet", [["Aptos", 1n], ["Algorand", "mainnet-v1.0"], ["Near", "mainnet"], ["Cosmoshub", "cosmoshub-4"], ["Evmos", "evmos_9001-2"], ["Injective", "injective-1"], ["Osmosis", "osmosis-1"], ["Sei", "pacific-1"], ["Terra", "columbus-5"]]], ["Testnet", [["Aptos", 2n], ["Algorand", "testnet-v1.0"], ["Near", "testnet"], ["Cosmoshub", "theta-testnet-001"], ["Evmos", "evmos_9000-4"], ["Injective", "injective-888"], ["Osmosis", "osmo-test-5"], ["Sei", "atlantic-2"]]], ["Devnet", [["Aptos", 0n], ["Algorand", "sandnet-v1.0"], ["Evmos", "evmos_devnet_fake"], ["Injective", "injective_devnet_fake"]]]], 2>[Object] & ToExtPropKey<K2>] extends Mapped
  ? any[any]
  : ObjectFromMappingEntries<[["Mainnet", [["Aptos", 1n], ["Algorand", "mainnet-v1.0"], ["Near", "mainnet"], ["Cosmoshub", "cosmoshub-4"], ["Evmos", "evmos_9001-2"], ["Injective", "injective-1"], ["Osmosis", "osmosis-1"], ["Sei", "pacific-1"], ["Terra", "columbus-5"]]], ["Testnet", [["Aptos", 2n], ["Algorand", "testnet-v1.0"], ["Near", "testnet"], ["Cosmoshub", "theta-testnet-001"], ["Evmos", "evmos_9000-4"], ["Injective", "injective-888"], ["Osmosis", "osmo-test-5"], ["Sei", "atlantic-2"]]], ["Devnet", [["Aptos", 0n], ["Algorand", "sandnet-v1.0"], ["Evmos", "evmos_devnet_fake"], ["Injective", "injective_devnet_fake"]]]], 2>[Object][keyof ObjectFromMappingEntries<[["Mainnet", [["Aptos", 1n], ["Algorand", "mainnet-v1.0"], ["Near", "mainnet"], ["Cosmoshub", "cosmoshub-4"], ["Evmos", "evmos_9001-2"], ["Injective", "injective-1"], ["Osmosis", "osmosis-1"], ["Sei", "pacific-1"], ["Terra", "columbus-5"]]], ["Testnet", [["Aptos", 2n], ["Algorand", "testnet-v1.0"], ["Near", "testnet"], ["Cosmoshub", "theta-testnet-001"], ["Evmos", "evmos_9000-4"], ["Injective", "injective-888"], ["Osmosis", "osmo-test-5"], ["Sei", "atlantic-2"]]], ["Devnet", [["Aptos", 0n], ["Algorand", "sandnet-v1.0"], ["Evmos", "evmos_devnet_fake"], ["Injective", "injective_devnet_fake"]]]], 2>[Object] & ToExtPropKey<K2>]
  : never
  : ObjectFromMappingEntries<[["Mainnet", [["Aptos", 1n], ["Algorand", "mainnet-v1.0"], ["Near", "mainnet"], ["Cosmoshub", "cosmoshub-4"], ["Evmos", "evmos_9001-2"], ["Injective", "injective-1"], ["Osmosis", "osmosis-1"], ["Sei", "pacific-1"], ["Terra", "columbus-5"]]], ["Testnet", [["Aptos", 2n], ["Algorand", "testnet-v1.0"], ["Near", "testnet"], ["Cosmoshub", "theta-testnet-001"], ["Evmos", "evmos_9000-4"], ["Injective", "injective-888"], ["Osmosis", "osmo-test-5"], ["Sei", "atlantic-2"]]], ["Devnet", [["Aptos", 0n], ["Algorand", "sandnet-v1.0"], ["Evmos", "evmos_devnet_fake"], ["Injective", "injective_devnet_fake"]]]], 2>[Object]
  : never

- #### Type Parameters

  - #### K1 extends "Mainnet" | "Testnet" | "Devnet"

  - #### K2 extends string | number | symbol

  #### Parameters

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

  #### Returns ToExtPropKey<K1> extends "Mainnet" | "Testnet" | "Devnet"
  ? ObjectFromMappingEntries<[["Mainnet", [["Aptos", 1n], ["Algorand", "mainnet-v1.0"], ["Near", "mainnet"], ["Cosmoshub", "cosmoshub-4"], ["Evmos", "evmos_9001-2"], ["Injective", "injective-1"], ["Osmosis", "osmosis-1"], ["Sei", "pacific-1"], ["Terra", "columbus-5"]]], ["Testnet", [["Aptos", 2n], ["Algorand", "testnet-v1.0"], ["Near", "testnet"], ["Cosmoshub", "theta-testnet-001"], ["Evmos", "evmos_9000-4"], ["Injective", "injective-888"], ["Osmosis", "osmo-test-5"], ["Sei", "atlantic-2"]]], ["Devnet", [["Aptos", 0n], ["Algorand", "sandnet-v1.0"], ["Evmos", "evmos_devnet_fake"], ["Injective", "injective_devnet_fake"]]]], 2>[Object] extends Mapped
  ? ToExtPropKey<K2> extends keyof ObjectFromMappingEntries<[["Mainnet", [["Aptos", 1n], ["Algorand", "mainnet-v1.0"], ["Near", "mainnet"], ["Cosmoshub", "cosmoshub-4"], ["Evmos", "evmos_9001-2"], ["Injective", "injective-1"], ["Osmosis", "osmosis-1"], ["Sei", "pacific-1"], ["Terra", "columbus-5"]]], ["Testnet", [["Aptos", 2n], ["Algorand", "testnet-v1.0"], ["Near", "testnet"], ["Cosmoshub", "theta-testnet-001"], ["Evmos", "evmos_9000-4"], ["Injective", "injective-888"], ["Osmosis", "osmo-test-5"], ["Sei", "atlantic-2"]]], ["Devnet", [["Aptos", 0n], ["Algorand", "sandnet-v1.0"], ["Evmos", "evmos_devnet_fake"], ["Injective", "injective_devnet_fake"]]]], 2>[Object]
  ? ObjectFromMappingEntries<[["Mainnet", [["Aptos", 1n], ["Algorand", "mainnet-v1.0"], ["Near", "mainnet"], ["Cosmoshub", "cosmoshub-4"], ["Evmos", "evmos_9001-2"], ["Injective", "injective-1"], ["Osmosis", "osmosis-1"], ["Sei", "pacific-1"], ["Terra", "columbus-5"]]], ["Testnet", [["Aptos", 2n], ["Algorand", "testnet-v1.0"], ["Near", "testnet"], ["Cosmoshub", "theta-testnet-001"], ["Evmos", "evmos_9000-4"], ["Injective", "injective-888"], ["Osmosis", "osmo-test-5"], ["Sei", "atlantic-2"]]], ["Devnet", [["Aptos", 0n], ["Algorand", "sandnet-v1.0"], ["Evmos", "evmos_devnet_fake"], ["Injective", "injective_devnet_fake"]]]], 2>[Object][keyof ObjectFromMappingEntries<[["Mainnet", [["Aptos", 1n], ["Algorand", "mainnet-v1.0"], ["Near", "mainnet"], ["Cosmoshub", "cosmoshub-4"], ["Evmos", "evmos_9001-2"], ["Injective", "injective-1"], ["Osmosis", "osmosis-1"], ["Sei", "pacific-1"], ["Terra", "columbus-5"]]], ["Testnet", [["Aptos", 2n], ["Algorand", "testnet-v1.0"], ["Near", "testnet"], ["Cosmoshub", "theta-testnet-001"], ["Evmos", "evmos_9000-4"], ["Injective", "injective-888"], ["Osmosis", "osmo-test-5"], ["Sei", "atlantic-2"]]], ["Devnet", [["Aptos", 0n], ["Algorand", "sandnet-v1.0"], ["Evmos", "evmos_devnet_fake"], ["Injective", "injective_devnet_fake"]]]], 2>[Object] & ToExtPropKey<K2>] extends Mapped
  ? any[any]
  : ObjectFromMappingEntries<[["Mainnet", [["Aptos", 1n], ["Algorand", "mainnet-v1.0"], ["Near", "mainnet"], ["Cosmoshub", "cosmoshub-4"], ["Evmos", "evmos_9001-2"], ["Injective", "injective-1"], ["Osmosis", "osmosis-1"], ["Sei", "pacific-1"], ["Terra", "columbus-5"]]], ["Testnet", [["Aptos", 2n], ["Algorand", "testnet-v1.0"], ["Near", "testnet"], ["Cosmoshub", "theta-testnet-001"], ["Evmos", "evmos_9000-4"], ["Injective", "injective-888"], ["Osmosis", "osmo-test-5"], ["Sei", "atlantic-2"]]], ["Devnet", [["Aptos", 0n], ["Algorand", "sandnet-v1.0"], ["Evmos", "evmos_devnet_fake"], ["Injective", "injective_devnet_fake"]]]], 2>[Object][keyof ObjectFromMappingEntries<[["Mainnet", [["Aptos", 1n], ["Algorand", "mainnet-v1.0"], ["Near", "mainnet"], ["Cosmoshub", "cosmoshub-4"], ["Evmos", "evmos_9001-2"], ["Injective", "injective-1"], ["Osmosis", "osmosis-1"], ["Sei", "pacific-1"], ["Terra", "columbus-5"]]], ["Testnet", [["Aptos", 2n], ["Algorand", "testnet-v1.0"], ["Near", "testnet"], ["Cosmoshub", "theta-testnet-001"], ["Evmos", "evmos_9000-4"], ["Injective", "injective-888"], ["Osmosis", "osmo-test-5"], ["Sei", "atlantic-2"]]], ["Devnet", [["Aptos", 0n], ["Algorand", "sandnet-v1.0"], ["Evmos", "evmos_devnet_fake"], ["Injective", "injective_devnet_fake"]]]], 2>[Object] & ToExtPropKey<K2>]
  : never
  : ObjectFromMappingEntries<[["Mainnet", [["Aptos", 1n], ["Algorand", "mainnet-v1.0"], ["Near", "mainnet"], ["Cosmoshub", "cosmoshub-4"], ["Evmos", "evmos_9001-2"], ["Injective", "injective-1"], ["Osmosis", "osmosis-1"], ["Sei", "pacific-1"], ["Terra", "columbus-5"]]], ["Testnet", [["Aptos", 2n], ["Algorand", "testnet-v1.0"], ["Near", "testnet"], ["Cosmoshub", "theta-testnet-001"], ["Evmos", "evmos_9000-4"], ["Injective", "injective-888"], ["Osmosis", "osmo-test-5"], ["Sei", "atlantic-2"]]], ["Devnet", [["Aptos", 0n], ["Algorand", "sandnet-v1.0"], ["Evmos", "evmos_devnet_fake"], ["Injective", "injective_devnet_fake"]]]], 2>[Object]
  : never

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

Generated using TypeDoc