get https://api-pro.sim.hashkeydev.com/api/v1/account
Retrieve account balance
Weight: 5
Support accountId as a request parameter now
Request Parameters
PARAMETER | TYPE | Req 'd | DESCRIPTION |
---|---|---|---|
accountId | LONG | Account ID, for Master Key only (Master Key users can check sub trading account information by inputing sub trading accountId) | |
timestamp | LONG | Y | Timestamp |
Response Content
PARAMETER | TYPE | Example values | DESCRIPTION |
---|---|---|---|
balances | Object Array | Query an asset array | |
balances.asset | STRING | BTC | Assets |
balances.assetId | STRING | BTC | Asset ID |
balances.assetName | STRING | BTC | Asset Name |
balances.total | STRING | 100.63264 | Total available funds |
balances.free | STRING | 100.63264 | Available funds |
balances.locked | STRING | 0 | Frozen funds |
userId | STRING | 4014986192463421361 | User ID |