import_key
Load an existing mnemonic or private key into Keygenix TEE; key material is ECIES-encrypted locally and never sent in plaintext.
Instructions
Import an existing key (mnemonic or private key) into Keygenix TEE. The key material is encrypted with ECIES before leaving the local machine — it is never transmitted in plaintext. Provide either 'mnemonic' (12/24 words) or 'privateKey' (hex), not both.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| curve | No | Elliptic curve for private key import (default: secp256k1). Not used for mnemonic. | |
| chains | No | Chain addresses to derive after import. Defaults to [EVM, SOL] for mnemonic. | |
| keyType | Yes | Type of key to import | |
| mnemonic | No | BIP39 mnemonic phrase (12 or 24 words). Required when keyType=mnemonic. | |
| privateKey | No | Private key as hex string. Required when keyType=private. |