Stefan Aebischer
2020-02-12 10:45:53 -05:00
parent 6fd3d34a47
commit e519c368e5
2 changed files with 9 additions and 0 deletions

View File

@@ -144,6 +144,12 @@ module.exports = class RestClient {
return await this.request.get('/open-api/wallet/withdraw/list', params);
}
async getWalletBalance(params) {
assert(params, 'No params passed');
assert(params.coin, 'Parameter coin is required');
return await this.request.get('/v2/private/wallet/balance', params);
}
async setRiskLimit(params) {
assert(params, 'No params passed');
assert(params.symbol, 'Parameter symbol is required');