v1

latestSwagger 2.02026-07-17492548.9 KB
ICS1

Recover a account from a seed

post/keys/{name}/recover

Path parameters

namestring required

Account name

Request body

passwordstring required
seedstring required

Response

Returns account information of the recovered key

namestring
addressstring
pub_keystring
typestring
seedstring

Example response

{
  "name": "Main Account",
  "address": "cosmos1depk54cuajgkzea6zpgkq36tnjwdzv4afc3d27",
  "pub_key": "cosmospub1addwnpepqtqc88gfdxyzcdm2eqr3tnlnxnelyqehy8k95qzgwdz5zccdft9rq5q7wj2",
  "type": "local"
}