Get Mnemonic
API-v2get_mnemonic
The get_mnemonic
method returns the user's mnemonic seed phrase, in encrypted or plain text format.
Parameter* = required | Type | Description |
---|---|---|
format | string default: encrypted | Optional. Either encrypted or plaintext . |
password | string | Optional. The password to decrypt your stored mnemonic phrase. Only required if plaintext format is requested. |
Parameter* = required | Type | Description |
---|---|---|
format* | string | Same as the input format parameter. |
encrypted_mnemonic_data | object | Optional. For encrypted requests, the encrypted format and ciphertext for the mnemonic seed phrase. |
mnemonic | string | Optional. For plaintext requests, the decrypted mnemonic seed phrase. |
Example (encrypted output)
POST
get_mnemonic{
"userpass": "RPC_UserP@SSW0RD",
"mmrpc": "2.0",
"method": "get_mnemonic",
"params": {
"format": "encrypted"
},
"id": 0
}
Example (plain text output)
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.