Function cosmwasmNetworkChainToRestUrls
- cosmwasmNetworkChainToRestUrls<K1, K2>(...args): ToExtPropKey<K1> extends "Mainnet" | "Testnet" | "Devnet"
? ObjectFromMappingEntries<readonly [readonly ["Mainnet", readonly [readonly ["Injective", "https://lcd.injective.network"], readonly ["Evmos", "https://rest.bd.evmos.org:1317"]]], readonly ["Testnet", readonly [readonly ["Injective", "https://k8s.testnet.lcd.injective.network"], readonly ["Evmos", "https://rest.bd.evmos.dev:1317"]]], readonly ["Devnet", readonly []]]>[Object] extends Mapped
? ToExtPropKey<K2> extends keyof ObjectFromMappingEntries<readonly [readonly ["Mainnet", readonly [readonly ["Injective", "https://lcd.injective.network"], readonly ["Evmos", "https://rest.bd.evmos.org:1317"]]], readonly ["Testnet", readonly [readonly ["Injective", "https://k8s.testnet.lcd.injective.network"], readonly ["Evmos", "https://rest.bd.evmos.dev:1317"]]], readonly ["Devnet", readonly []]]>[Object]
? ObjectFromMappingEntries<readonly [readonly ["Mainnet", readonly [readonly ["Injective", "https://lcd.injective.network"], readonly ["Evmos", "https://rest.bd.evmos.org:1317"]]], readonly ["Testnet", readonly [readonly ["Injective", "https://k8s.testnet.lcd.injective.network"], readonly ["Evmos", "https://rest.bd.evmos.dev:1317"]]], readonly ["Devnet", readonly []]]>[Object][keyof ObjectFromMappingEntries<readonly [readonly ["Mainnet", readonly [readonly ["Injective", "https://lcd.injective.network"], readonly ["Evmos", "https://rest.bd.evmos.org:1317"]]], readonly ["Testnet", readonly [readonly ["Injective", "https://k8s.testnet.lcd.injective.network"], readonly ["Evmos", "https://rest.bd.evmos.dev:1317"]]], readonly ["Devnet", readonly []]]>[Object] & ToExtPropKey<K2>] extends Mapped
? any[any]
: ObjectFromMappingEntries<readonly [readonly ["Mainnet", readonly [readonly ["Injective", "https://lcd.injective.network"], readonly ["Evmos", "https://rest.bd.evmos.org:1317"]]], readonly ["Testnet", readonly [readonly ["Injective", "https://k8s.testnet.lcd.injective.network"], readonly ["Evmos", "https://rest.bd.evmos.dev:1317"]]], readonly ["Devnet", readonly []]]>[Object][keyof ObjectFromMappingEntries<readonly [readonly ["Mainnet", readonly [readonly ["Injective", "https://lcd.injective.network"], readonly ["Evmos", "https://rest.bd.evmos.org:1317"]]], readonly ["Testnet", readonly [readonly ["Injective", "https://k8s.testnet.lcd.injective.network"], readonly ["Evmos", "https://rest.bd.evmos.dev:1317"]]], readonly ["Devnet", readonly []]]>[Object] & ToExtPropKey<K2>]
: never
: ObjectFromMappingEntries<readonly [readonly ["Mainnet", readonly [readonly ["Injective", "https://lcd.injective.network"], readonly ["Evmos", "https://rest.bd.evmos.org:1317"]]], readonly ["Testnet", readonly [readonly ["Injective", "https://k8s.testnet.lcd.injective.network"], readonly ["Evmos", "https://rest.bd.evmos.dev:1317"]]], readonly ["Devnet", readonly []]]>[Object]
: never
-
Type Parameters
-
K1 extends "Mainnet" | "Testnet" | "Devnet"
-
K2 extends string | number | symbol
Returns ToExtPropKey<K1> extends "Mainnet" | "Testnet" | "Devnet"
? ObjectFromMappingEntries<readonly [readonly ["Mainnet", readonly [readonly ["Injective", "https://lcd.injective.network"], readonly ["Evmos", "https://rest.bd.evmos.org:1317"]]], readonly ["Testnet", readonly [readonly ["Injective", "https://k8s.testnet.lcd.injective.network"], readonly ["Evmos", "https://rest.bd.evmos.dev:1317"]]], readonly ["Devnet", readonly []]]>[Object] extends Mapped
? ToExtPropKey<K2> extends keyof ObjectFromMappingEntries<readonly [readonly ["Mainnet", readonly [readonly ["Injective", "https://lcd.injective.network"], readonly ["Evmos", "https://rest.bd.evmos.org:1317"]]], readonly ["Testnet", readonly [readonly ["Injective", "https://k8s.testnet.lcd.injective.network"], readonly ["Evmos", "https://rest.bd.evmos.dev:1317"]]], readonly ["Devnet", readonly []]]>[Object]
? ObjectFromMappingEntries<readonly [readonly ["Mainnet", readonly [readonly ["Injective", "https://lcd.injective.network"], readonly ["Evmos", "https://rest.bd.evmos.org:1317"]]], readonly ["Testnet", readonly [readonly ["Injective", "https://k8s.testnet.lcd.injective.network"], readonly ["Evmos", "https://rest.bd.evmos.dev:1317"]]], readonly ["Devnet", readonly []]]>[Object][keyof ObjectFromMappingEntries<readonly [readonly ["Mainnet", readonly [readonly ["Injective", "https://lcd.injective.network"], readonly ["Evmos", "https://rest.bd.evmos.org:1317"]]], readonly ["Testnet", readonly [readonly ["Injective", "https://k8s.testnet.lcd.injective.network"], readonly ["Evmos", "https://rest.bd.evmos.dev:1317"]]], readonly ["Devnet", readonly []]]>[Object] & ToExtPropKey<K2>] extends Mapped
? any[any]
: ObjectFromMappingEntries<readonly [readonly ["Mainnet", readonly [readonly ["Injective", "https://lcd.injective.network"], readonly ["Evmos", "https://rest.bd.evmos.org:1317"]]], readonly ["Testnet", readonly [readonly ["Injective", "https://k8s.testnet.lcd.injective.network"], readonly ["Evmos", "https://rest.bd.evmos.dev:1317"]]], readonly ["Devnet", readonly []]]>[Object][keyof ObjectFromMappingEntries<readonly [readonly ["Mainnet", readonly [readonly ["Injective", "https://lcd.injective.network"], readonly ["Evmos", "https://rest.bd.evmos.org:1317"]]], readonly ["Testnet", readonly [readonly ["Injective", "https://k8s.testnet.lcd.injective.network"], readonly ["Evmos", "https://rest.bd.evmos.dev:1317"]]], readonly ["Devnet", readonly []]]>[Object] & ToExtPropKey<K2>]
: never
: ObjectFromMappingEntries<readonly [readonly ["Mainnet", readonly [readonly ["Injective", "https://lcd.injective.network"], readonly ["Evmos", "https://rest.bd.evmos.org:1317"]]], readonly ["Testnet", readonly [readonly ["Injective", "https://k8s.testnet.lcd.injective.network"], readonly ["Evmos", "https://rest.bd.evmos.dev:1317"]]], readonly ["Devnet", readonly []]]>[Object]
: never