# Function translator

- translator<K1, K2>(...args): ToExtPropKey<K1> extends "Mainnet" | "Testnet"
  ? ObjectFromMappingEntries<readonly [readonly ["Mainnet", readonly [readonly ["Sei", ""]]], readonly ["Testnet", readonly [readonly ["Sei", "sei1dkdwdvknx0qav5cp5kw68mkn3r99m3svkyjfvkztwh97dv2lm0ksj6xrak"]]]], 2>[Object] extends Mapped
  ? ToExtPropKey<K2> extends keyof ObjectFromMappingEntries<readonly [readonly ["Mainnet", readonly [readonly ["Sei", ""]]], readonly ["Testnet", readonly [readonly ["Sei", "sei1dkdwdvknx0qav5cp5kw68mkn3r99m3svkyjfvkztwh97dv2lm0ksj6xrak"]]]], 2>[Object]
  ? ObjectFromMappingEntries<readonly [readonly ["Mainnet", readonly [readonly ["Sei", ""]]], readonly ["Testnet", readonly [readonly ["Sei", "sei1dkdwdvknx0qav5cp5kw68mkn3r99m3svkyjfvkztwh97dv2lm0ksj6xrak"]]]], 2>[Object][keyof ObjectFromMappingEntries<readonly [readonly ["Mainnet", readonly [readonly ["Sei", ""]]], readonly ["Testnet", readonly [readonly ["Sei", "sei1dkdwdvknx0qav5cp5kw68mkn3r99m3svkyjfvkztwh97dv2lm0ksj6xrak"]]]], 2>[Object] & ToExtPropKey<K2>] extends Mapped
  ? any[any]
  : ObjectFromMappingEntries<readonly [readonly ["Mainnet", readonly [readonly ["Sei", ""]]], readonly ["Testnet", readonly [readonly ["Sei", "sei1dkdwdvknx0qav5cp5kw68mkn3r99m3svkyjfvkztwh97dv2lm0ksj6xrak"]]]], 2>[Object][keyof ObjectFromMappingEntries<readonly [readonly ["Mainnet", readonly [readonly ["Sei", ""]]], readonly ["Testnet", readonly [readonly ["Sei", "sei1dkdwdvknx0qav5cp5kw68mkn3r99m3svkyjfvkztwh97dv2lm0ksj6xrak"]]]], 2>[Object] & ToExtPropKey<K2>]
  : never
  : ObjectFromMappingEntries<readonly [readonly ["Mainnet", readonly [readonly ["Sei", ""]]], readonly ["Testnet", readonly [readonly ["Sei", "sei1dkdwdvknx0qav5cp5kw68mkn3r99m3svkyjfvkztwh97dv2lm0ksj6xrak"]]]], 2>[Object]
  : never

- #### Type Parameters

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

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

  #### Parameters

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

  #### Returns ToExtPropKey<K1> extends "Mainnet" | "Testnet"
  ? ObjectFromMappingEntries<readonly [readonly ["Mainnet", readonly [readonly ["Sei", ""]]], readonly ["Testnet", readonly [readonly ["Sei", "sei1dkdwdvknx0qav5cp5kw68mkn3r99m3svkyjfvkztwh97dv2lm0ksj6xrak"]]]], 2>[Object] extends Mapped
  ? ToExtPropKey<K2> extends keyof ObjectFromMappingEntries<readonly [readonly ["Mainnet", readonly [readonly ["Sei", ""]]], readonly ["Testnet", readonly [readonly ["Sei", "sei1dkdwdvknx0qav5cp5kw68mkn3r99m3svkyjfvkztwh97dv2lm0ksj6xrak"]]]], 2>[Object]
  ? ObjectFromMappingEntries<readonly [readonly ["Mainnet", readonly [readonly ["Sei", ""]]], readonly ["Testnet", readonly [readonly ["Sei", "sei1dkdwdvknx0qav5cp5kw68mkn3r99m3svkyjfvkztwh97dv2lm0ksj6xrak"]]]], 2>[Object][keyof ObjectFromMappingEntries<readonly [readonly ["Mainnet", readonly [readonly ["Sei", ""]]], readonly ["Testnet", readonly [readonly ["Sei", "sei1dkdwdvknx0qav5cp5kw68mkn3r99m3svkyjfvkztwh97dv2lm0ksj6xrak"]]]], 2>[Object] & ToExtPropKey<K2>] extends Mapped
  ? any[any]
  : ObjectFromMappingEntries<readonly [readonly ["Mainnet", readonly [readonly ["Sei", ""]]], readonly ["Testnet", readonly [readonly ["Sei", "sei1dkdwdvknx0qav5cp5kw68mkn3r99m3svkyjfvkztwh97dv2lm0ksj6xrak"]]]], 2>[Object][keyof ObjectFromMappingEntries<readonly [readonly ["Mainnet", readonly [readonly ["Sei", ""]]], readonly ["Testnet", readonly [readonly ["Sei", "sei1dkdwdvknx0qav5cp5kw68mkn3r99m3svkyjfvkztwh97dv2lm0ksj6xrak"]]]], 2>[Object] & ToExtPropKey<K2>]
  : never
  : ObjectFromMappingEntries<readonly [readonly ["Mainnet", readonly [readonly ["Sei", ""]]], readonly ["Testnet", readonly [readonly ["Sei", "sei1dkdwdvknx0qav5cp5kw68mkn3r99m3svkyjfvkztwh97dv2lm0ksj6xrak"]]]], 2>[Object]
  : never

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

Generated using TypeDoc