Skip to content

Latest commit

 

History

History
86 lines (58 loc) · 2.01 KB

File metadata and controls

86 lines (58 loc) · 2.01 KB

BitMexApi.WalletApi

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

walletGetAssetsConfig

[AssetsConfig] walletGetAssetsConfig()

Get Assets Config

Example

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);

Parameters

This endpoint does not need any parameter.

Return type

[AssetsConfig]

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json, application/x-www-form-urlencoded
  • Accept: application/json, application/xml, text/xml, application/javascript, text/javascript

walletGetNetworksConfig

[NetworksConfig] walletGetNetworksConfig()

Get Networks Config

Example

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);

Parameters

This endpoint does not need any parameter.

Return type

[NetworksConfig]

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json, application/x-www-form-urlencoded
  • Accept: application/json, application/xml, text/xml, application/javascript, text/javascript