Skip to content

Latest commit

 

History

History
94 lines (64 loc) · 2.6 KB

WalletApi.md

File metadata and controls

94 lines (64 loc) · 2.6 KB

swagger_client.WalletApi

All URIs are relative to https://www.bitmex.com/api/v1

Method HTTP request Description
wallet_get_assets_config GET /wallet/assets Get Assets Config
wallet_get_networks_config GET /wallet/networks Get Networks Config

wallet_get_assets_config

list[AssetsConfig] wallet_get_assets_config()

Get Assets Config

Example

from __future__ import print_function
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.WalletApi()

try:
    # Get Assets Config
    api_response = api_instance.wallet_get_assets_config()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling WalletApi->wallet_get_assets_config: %s\n" % e)

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

[Back to top] [Back to API list] [Back to Model list] [Back to README]

wallet_get_networks_config

list[NetworksConfig] wallet_get_networks_config()

Get Networks Config

Example

from __future__ import print_function
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.WalletApi()

try:
    # Get Networks Config
    api_response = api_instance.wallet_get_networks_config()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling WalletApi->wallet_get_networks_config: %s\n" % e)

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

[Back to top] [Back to API list] [Back to Model list] [Back to README]