import_wallet
Add a wallet to the encrypted local store by importing a private key or mnemonic for USDD protocol management on TRON or EVM.
Instructions
Import a private key or mnemonic into the encrypted local wallet store.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"walletType": "<walletType>",
"secretType": "<secretType>",
"secret": "<secret>"
},
"name": "import_wallet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| walletType | Yes | Wallet family: tron or evm | |
| secretType | Yes | Secret type to import | |
| secret | Yes | Private key or mnemonic phrase | |
| index | No | Mnemonic derivation index. Default: 0 |