Get Mnemonic
API-v2get_mnemonic
The get_mnemonic method returns the user's mnemonic seed phrase, in encrypted or plain text format.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| format | string | ✗ | encrypted | Either encrypted or plaintext. Defaults to encrypted. |
| password | string | ✗ | - | The password to decrypt your stored mnemonic phrase. Only required if plaintext format is requested. |
| Parameter | Type | Description |
|---|---|---|
| format | string | Same as the input format parameter. |
| mnemonic | string | For plaintext requests, the decrypted mnemonic seed phrase. |
| encrypted_mnemonic_data | object | For encrypted requests, the encrypted format and ciphertext for the mnemonic seed phrase. |
Get Mnemonic (Encrypted)
POST
get_mnemonic{
"userpass": "RPC_UserP@SSW0RD",
"mmrpc": "2.0",
"method": "get_mnemonic",
"params": {
"format": "encrypted"
},
"id": 0
}
Get Mnemonic (Plaintext)
POST
get_mnemonic{
"userpass": "RPC_UserP@SSW0RD",
"mmrpc": "2.0",
"method": "get_mnemonic",
"params": {
"format": "plaintext",
"password": "Q^wJZg~Ck3.tPW~asnM-WrL"
},
"id": 0
}
You can update the password with the change_mnemonic_password method.