All URIs are relative to https://www.bitmex.com/api/v1
Method | HTTP request | Description |
---|---|---|
walletGetAssetsConfig | GET /wallet/assets | Get Assets Config |
walletGetNetworksConfig | GET /wallet/networks | Get Networks Config |
[AssetsConfig] walletGetAssetsConfig()
Get Assets Config
var BitMexApi = require('bit_mex_api');
var apiInstance = new BitMexApi.WalletApi();
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.walletGetAssetsConfig(callback);
This endpoint does not need any parameter.
No authorization required
- Content-Type: application/json, application/x-www-form-urlencoded
- Accept: application/json, application/xml, text/xml, application/javascript, text/javascript
[NetworksConfig] walletGetNetworksConfig()
Get Networks Config
var BitMexApi = require('bit_mex_api');
var apiInstance = new BitMexApi.WalletApi();
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.walletGetNetworksConfig(callback);
This endpoint does not need any parameter.
No authorization required
- Content-Type: application/json, application/x-www-form-urlencoded
- Accept: application/json, application/xml, text/xml, application/javascript, text/javascript