added get_restore_info

Signed-off-by: ravaga <trueravaga@gmail.com>
This commit is contained in:
ravaga 2023-11-30 20:33:01 +01:00
parent be3be31100
commit f59e5268e6
2 changed files with 40 additions and 26 deletions

View file

@ -0,0 +1,28 @@
### Request
```json
{
"jsonrpc": "2.0",
"id": 0,
"method": "get_restore_info",
"params": {
"seed_password": "12345"
}
}
```
seed_password - string; password for seed phrase, is the optional parameter that is used to encrypt the seed phrase. If you're using it make sure to save it, otherwise you will not be able to restore your wallet.
---
### Response
```json
{
"id": 0,
"jsonrpc": "2.0",
"result": {
"seed_phrase": "word1 word2 word3.....word25"
}
}
```

View file

@ -1,40 +1,26 @@
This endpoint wasnt on original docs and was found in GitHub code, needs a description of what the endpoint does, any required request parameters? and descriptions for json response parameters
:::info
Check with Ravaga what this endpoint does.
:::
### Request
```json
{
"jsonrpc": "2.0",
"id": 0,
"method": "get_seed_phrase_info"
"jsonrpc": "2.0",
"id": 0,
"method": "get_seed_phrase_info"
}
```
---
### Response
### Response
```json
{
"id": 0,
"jsonrpc": "2.0",
"result": {
"hash_sum_matched": false,
"require_password": false,
"syntax_correct": false,
"tracking": false
}
"id": 0,
"jsonrpc": "2.0",
"result": {
"hash_sum_matched": false,
"require_password": false,
"syntax_correct": false,
"tracking": false
}
}
```
### Response information
- hash_sum_matched - ?
- require_password - ?
- syntax_correct - ?
- tracking - ?