Response (wallet list)

api/v3

Response (wallet list) 200 OK, application/json

A wallet list with the following objects as elements is returned:

Parameter

Type

Description

name

string

The name of a wallet.

address

string

A Hycon wallet public address.

balance

string

The total circulation of HYCON coin.

nonce

number

The transaction number sent from the address.

Response Error Table

Status

Error

Message

400

BAD_REQUEST

Parameter should be defined

500

INTERNAL_SERVER_ERROR

FAILED getWalletList: Internal Server Error Error: {ERROR MESSAGE FROM SERVER}

Response (Success, no wallets) 200 OK, application/json

[
]

Response (Success) 200 OK, application/json

[
    {
        "name": "first",
        "address": "H3rKFuQySycSigA8saiDfmBw3tUE4HEN9",
        "balance": "0",
        "nonce": 0
    },
    {
        "name": "second",
        "address": "H2pM9frgtFwqcBBrVCQr9x8yJ4Dy89ag3",
        "balance": "0",
        "nonce": 0
    },
    {
        "name": "third",
        "address": "HD Wallet (use post method with {name, password, index})",
        "balance": "0",
        "nonce": 0
    }
]

Last updated