wallet_import
Import a private key for a specified blockchain, encrypt it with a password, and store it in the keystore for later transaction signing.
Instructions
Import an existing private key, encrypt it, and store it in the keystore.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | Yes | Chain ID (ambient, solana, bsc, arbitrum) | |
| label | No | Optional label for the wallet | |
| password | Yes | Encryption password for the keystore | |
| privateKey | Yes | Private key in chain-native format (hex for EVM, base58 for SVM) |