Account

Account Initialize & Restore

Init

This request allows you to create your cloud account for the first time or to re-create it by force. Note: If this request is successful, the mnemonics will be written to the config file.

Endpoint: /v1/account/init Method: POST

Body (Optional):

{
  "force": false // if re-create account use true.
}

Response:

{
  "data": {
    "mnemonics": ["your", "account", "mnemonics", ...],
    "raw": "your account mnemonics ..."
  }
}

Restore

Endpoint: /v1/account/restore Method: POST Body (Optional):

{
  "mnemonics": ["your", "account", "mnemonics", ...],
  "force": false // if re-restore or use other account account use true
}

Last updated