Response (generate/recover wallet)
api/v3
Parameter | Type | Description |
name | string | The created wallet name. |
address | string | The created or recovered wallet public address. |
balance | string | The total circulation of HYCON coin. |
nonce | number | The transaction number sent from the address. |
mnemonic | string | Random mnemonic or mnemonic used to create the wallet. (Only when request mnemonic or create/recover wallet) |
index | number | The index of the HD wallet to lookup. (HD Wallet only) |
Response Error Table
Status | Error | Message |
400 | BAD_REQUEST | wallet duplicate name |
Response (Success - HD Wallet)
{
"name": "HD_wallet",
"address": "H3jbvMss7E2xjso9sxcSTjw2WcQ5e6Qjg",
"balance": "0",
"nonce": 0,
"mnemonic":"위성 그제서야 변명 슬쩍 여행 할머니 하반기 범위 햇살 월세 마음 조직",
"index": 3
}
Response (Success - Single Address Wallet)
{
"name": "Non_HD_wallet",
"address": "H4M6CQ41SRjSfKpucKfNCsRE9xk2k7hSc",
"balance": "0",
"nonce": 0,
"mnemonic": "army pumpkin disease sniff raw since nut icon biology word cute hover"
}