HYCON
Search…
Powered By GitBook
Getting details of an HD wallet
api/v1
Request Body - Content-Type: application/json;charset=utf-8
Parameter
Type
Required
Description
name
list
Yes
Name of your HD Wallet
password
string
Yes
Password of your wallet
index
string
No
Starting index of wallet to return
count
string
No
Number of wallet addresses to return
Response Error Table
Status
Error
Message
404
NOT_FOUND
the wallet cannot be found
POST/api/v1/getHDWallet
Example request
1
$ curl -X POST http://localhost:2442/api/v1/getHDWallet \
2
-H 'Content-Type: application/json;charset=utf-8' \
3
-d '{
4
"name": "test",
5
"password": "",
6
"index": 0,
7
"count": 2
8
}'
Copied!
Response (Success)
1
[
2
{
3
"address": "H34kywGZSMUdPSCa3rqJLeHaRqigS3Bnt",
4
"balance": "0",
5
"pendingAmount": "0"
6
},
7
{
8
"address": "H2zTphq19pxGWHgHyitKcXgjH9S37JB9L",
9
"balance": "0",
10
"pendingAmount": "0"
11
}
12
]
Copied!
Last modified 3mo ago
Copy link