binance-api-node
Advanced tools
Comparing version 0.10.3 to 0.10.4
@@ -407,2 +407,8 @@ "use strict"; | ||
}, | ||
capitalConfigs: function capitalConfigs() { | ||
return privCall('/sapi/v1/capital/config/getall'); | ||
}, | ||
capitalDepositAddress: function capitalDepositAddress(payload) { | ||
return privCall('/sapi/v1/capital/deposit/address', payload); | ||
}, | ||
getDataStream: function getDataStream() { | ||
@@ -409,0 +415,0 @@ return privCall('/api/v3/userDataStream', null, 'POST', true); |
{ | ||
"name": "binance-api-node", | ||
"version": "0.10.3", | ||
"version": "0.10.4", | ||
"description": "A node API wrapper for Binance", | ||
@@ -5,0 +5,0 @@ "main": "dist", |
@@ -90,2 +90,4 @@ # binance-api-node [![build](https://img.shields.io/travis/Ashlar/binance-api-node/master.svg?style=flat-square)](https://travis-ci.org/Ashlar/binance-api-node) [![cover](https://img.shields.io/coveralls/github/Ashlar/binance-api-node/master?style=flat-square)](https://coveralls.io/github/Ashlar/binance-api-node?branch=master) [![bnb](https://img.shields.io/badge/binance-winner-yellow.svg?style=flat-square)](https://github.com/binance-exchange/binance-api-node) | ||
- [tradeFee](#tradefee) | ||
- [capitalConfigs](#capitalConfigs) | ||
- [capitalDepositAddress](#capitalDepositAddress) | ||
- [Websockets](#websockets) | ||
@@ -1560,2 +1562,84 @@ - [depth](#depth) | ||
#### capitalConfigs | ||
Get information of coins (available for deposit and withdraw) for user. | ||
```js | ||
console.log(await client.capitalConfigs()) | ||
``` | ||
<details> | ||
<summary>Output</summary> | ||
```js | ||
[ | ||
{ | ||
'coin': 'CTR', | ||
'depositAllEnable': false, | ||
'free': '0.00000000', | ||
'freeze': '0.00000000', | ||
'ipoable': '0.00000000', | ||
'ipoing': '0.00000000', | ||
'isLegalMoney': false, | ||
'locked': '0.00000000', | ||
'name': 'Centra', | ||
'networkList': [ | ||
{ | ||
'addressRegex': '^(0x)[0-9A-Fa-f]{40}$', | ||
'coin': 'CTR', | ||
'depositDesc': 'Delisted, Deposit Suspended', | ||
'depositEnable': false, | ||
'isDefault': true, | ||
'memoRegex': '', | ||
'minConfirm': 12, | ||
'name': 'ERC20', | ||
'network': 'ETH', | ||
'resetAddressStatus': false, | ||
'specialTips': '', | ||
'unLockConfirm': 0, | ||
'withdrawDesc': '', | ||
'withdrawEnable': true, | ||
'withdrawFee': '35.00000000', | ||
'withdrawIntegerMultiple': '0.00000001', | ||
'withdrawMax': '0.00000000', | ||
'withdrawMin': '70.00000000' | ||
} | ||
], | ||
'storage': '0.00000000', | ||
'trading': false, | ||
'withdrawAllEnable': true, | ||
'withdrawing': '0.00000000' | ||
} | ||
] | ||
``` | ||
</details> | ||
#### capitalDepositAddress | ||
Fetch deposit address with network. | ||
```js | ||
console.log(await client.capitalDepositAddress({ coin: 'NEO' })) | ||
``` | ||
| Param | Type | Required | Description | | ||
| -------- | ------ | -------- | ---------------- | | ||
| coin | String | true | The coin name | | ||
| network | String | false | The network name | | ||
<details> | ||
<summary>Output</summary> | ||
```js | ||
{ | ||
address: 'AM6ytPW78KYxQCmU2pHYGcee7GypZ7Yhhc', | ||
coin: 'NEO', | ||
tag: '', | ||
url: 'https://neoscan.io/address/AM6ytPW78KYxQCmU2pHYGcee7GypZ7Yhhc' | ||
} | ||
``` | ||
</details> | ||
### WebSockets | ||
@@ -1562,0 +1646,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
109807
1885
1921