adding common assets

This commit is contained in:
Sushil Sharma
2024-08-20 16:53:21 +04:00
committed by GitHub
parent 7394efa76b
commit 4cd1067d61
3 changed files with 20 additions and 3 deletions

View File

@@ -145,6 +145,23 @@ export class RestClientV2 extends BaseRestClient {
);
}
/**
*
* * Common | Assets
*
*/
getFundingAssets(params?: object): Promise<APIResponse<any>> {
return this.getPrivate(`/api/v2/account/funding-assets`, params);
}
getBotAccount(params?: object): Promise<APIResponse<any>> {
return this.getPrivate(`/api/v2/account/bot-assets`, params);
}
getAssetsOverview(): Promise<APIResponse<any>> {
return this.getPrivate(`/api/v2/account/all-account-balance`);
}
/**
*
* * Common | Convert