Response (get HD wallet information)

api/v3

Response (get HD wallet information) 200 OK, application/json

Parameter

Type

Description

name

string

The wallet name.

address

string

The wallet public address.

balance

string

The total circulation of HYCON coin of the address.

nonce

number

The transaction number sent from the address.

index

number

The index of the HD wallet to lookup. (HD Wallet only)

You can get a HD wallet information. (Must give $name, $index, $password parameters)

Response Error Table

Status

Error

Message

400

BAD_REQUEST

Wallet HD_wallet is exist and it is not a HD wallet. Error: Fail to loadKeys : Error: error:06065064:digital envelope routines:EVP_DecryptFinal_ex:bad decrypt.

Response (Success)

{
    "name": "HD_wallet",
    "address": "HgAoS1pywdcbjkvubr4ovaYEXLoB3Xj9",
    "balance": "0",
    "nonce": 0,
    "index": 1
}

Last updated