restore-wallet-from-mnemonic
Restore access to an Osmosis wallet by inputting a BIP-39 mnemonic phrase. Specify the address prefix and account index for HD derivation to retrieve wallet details.
Instructions
Restores a wallet from an existing mnemonic phrase
Input Schema
Name | Required | Description | Default |
---|---|---|---|
accountIndex | No | Account index for HD derivation (default: 0) | |
mnemonic | Yes | BIP-39 mnemonic phrase (12-24 words) | |
prefix | No | Address prefix (default: 'osmo') | osmo |
Input Schema (JSON Schema)
{
"properties": {
"accountIndex": {
"default": 0,
"description": "Account index for HD derivation (default: 0)",
"type": "number"
},
"mnemonic": {
"description": "BIP-39 mnemonic phrase (12-24 words)",
"type": "string"
},
"prefix": {
"default": "osmo",
"description": "Address prefix (default: 'osmo')",
"type": "string"
}
},
"required": [
"mnemonic"
],
"type": "object"
}