Skip to main content

get_restore_info

Returns the seed phrase needed to restore the currently opened wallet, optionally encrypted with an additional seed password.

Request

{
"jsonrpc": "2.0",
"id": 0,
"method": "get_restore_info",
"params": {
"seed_password": "my-extra-seed-password"
}
}

Request parameters

  • seed_password - string; an optional additional password applied to the generated seed phrase. When a non-empty value is supplied, the returned seed phrase is protected with it and the very same password will be required later to restore the wallet from that phrase. Pass an empty string to get a plain, password-free seed phrase.

Response

{
"id": 0,
"jsonrpc": "2.0",
"result": {
"seed_phrase": "cousin patrol sizzle chalk anchor vivid gallery mercy jungle rescue orbit ladder pumpkin frost velvet marble candle harbor tunnel bronze pilot ripple meadow signal admire"
}
}

Response information

  • seed_phrase - string; the wallet's restore (seed) phrase. Anyone holding it gains full control over the wallet's funds, so never log it, transmit it over an untrusted channel, or expose the wallet RPC port to a public network. Use get_seed_phrase_info to inspect the properties of a phrase (syntax correctness, whether a seed password is required, whether it is a tracking seed) without opening the wallet.