Commit b3467b06 authored by Jeremy Bokobza's avatar Jeremy Bokobza

Added mnemonic in wallet creation in the API spec

parent 98164694
...@@ -166,13 +166,15 @@ response ...@@ -166,13 +166,15 @@ response
``` ```
{ {
"network": "main", // "main" or "testnet" "network": "main", // "main" or "testnet"
"password": "password" "password": "password",
"name": "wallet-btc",
"mnemonic": "gravity sock glove cage divert creek mountain connect small banana depend thunder" // optional
} }
``` ```
### Responses ### Responses
``` ```
{ {
"mnemonic": "foo bar buz", "mnemonic": "gravity sock glove cage divert creek mountain connect small banana depend thunder",
} }
``` ```
## POST /wallet/load - Loads the wallet and starts syncing ## POST /wallet/load - Loads the wallet and starts syncing
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment