Getting a list of wallets
api/v1
You can query information about all of your wallets on your local Hycon node.
Response -
200 OK, application/json
Parameter | Type | Description |
walletList | list | A list of wallet addresses with address , name , balance , and pendingAmount |
length | number | The number of addresses in the list |
GET/api/v1/wallet
Example request
$ curl -X GET http://localhost:2442/api/v1/wallet \
-H 'Content-Type: application/json;charset=utf-8'
Response (Success)
{
"walletList": [
{
"address": "H23fF8ktBWYwK7aHFbPSW52LtoHcbDvmT",
"name": "mining",
"balance": "2.670910068",
"pendingAmount": "0"
},
{
"address": "H34kywGZSMUdPSCa3rqJLeHaRqigS3Bnt",
"name": "test",
"balance": "0",
"pendingAmount": "0"
}
],
"length": 2
}
Last modified 1yr ago