MCPcopy Create free account
hub / github.com/ccxt/node-binance-api / balance

Method balance

src/node-binance-api.ts:4159–4162  ·  view source on GitHub ↗

* Get the balance data * @see https://developers.binance.com/docs/binance-spot-api-docs/testnet/rest-api/account-endpoints#account-information-user_data * @return {promise or undefined} - omitting the callback returns a promise

(params: Dict = {})

Source from the content-addressed store, hash-verified

4157 * @return {promise or undefined} - omitting the callback returns a promise
4158 */
4159 async balance(params: Dict = {}) {
4160 const data = await this.privateSpotRequest('v3/account', params);
4161 return this.balanceData(data);
4162 }
4163
4164 /**
4165 * Get private trades for a given symbol

Callers 6

live-tests.cjsFile · 0.80
balanceFunction · 0.80
mainFunction · 0.80
example.jsFile · 0.80

Calls 2

privateSpotRequestMethod · 0.95
balanceDataMethod · 0.95

Tested by

no test coverage detected