GET/v1/api/auth/wallet
URL:
https://api.koindex.io/GET/v1/api/auth/wallet?api_key=****&auth_nonce=1524165420000&auth_sign=0aeb680bb3152c14f849037af45f9eb1
Request filed:
api_key |
Your API key | String |
auth_nonce |
Timestamp | String |
auth_sign |
MD5coding.MD5(api_key+auth_nonce+apiSecret) | String |
Response:
{
"code": 0,
"data": {
"free": {
"BTC": "9.99094840",
"ETH": "10.21587000",
"USDT": "199.80000000"
},
"freezed": {
"BTC": "0.16420000",
"ETH": "0.00000000",
"USDT": "0.00000000"
}
},
"channel": "auth-wallet"
}
free |
available assets in the wallet |
freezed |
assets on zed (not available for use) |
channel |
auth-wallet | mine |
Error:
{"code":-1,"msg":"fail"}
code |
response status, 0 is success, other is fail. |
msg |
message |