Wallet Import
wallet_importRestore a RustChain wallet from a BIP39 seed phrase or encrypted keystore JSON to manage RTC tokens and perform blockchain transactions.
Instructions
Import a wallet from seed phrase or keystore JSON.
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": {
"source": "<source>"
},
"name": "wallet_import"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | Either a BIP39 seed phrase (12-24 words) or encrypted keystore JSON string from wallet_export | |
| password | No | Password for encrypted keystore or seed phrase | |
| wallet_id | No | Desired wallet ID (optional, auto-generated if not provided) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||