Skip to content

Latest commit

 

History

History
84 lines (58 loc) · 2.11 KB

WalletApi.md

File metadata and controls

84 lines (58 loc) · 2.11 KB

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

List<AssetsConfig> walletGetAssetsConfig()

Get Assets Config

Example

// Import classes:
//import io.swagger.client.api.WalletApi;

WalletApi apiInstance = new WalletApi();
try {
    List<AssetsConfig> result = apiInstance.walletGetAssetsConfig();
    System.out.println(result);
} catch (ApiException e) {
    System.err.println("Exception when calling WalletApi#walletGetAssetsConfig");
    e.printStackTrace();
}

Parameters

This endpoint does not need any parameter.

Return type

List<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

List<NetworksConfig> walletGetNetworksConfig()

Get Networks Config

Example

// Import classes:
//import io.swagger.client.api.WalletApi;

WalletApi apiInstance = new WalletApi();
try {
    List<NetworksConfig> result = apiInstance.walletGetNetworksConfig();
    System.out.println(result);
} catch (ApiException e) {
    System.err.println("Exception when calling WalletApi#walletGetNetworksConfig");
    e.printStackTrace();
}

Parameters

This endpoint does not need any parameter.

Return type

List<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