Skip to content

Latest commit

 

History

History
88 lines (56 loc) · 1.96 KB

WalletApi.md

File metadata and controls

88 lines (56 loc) · 1.96 KB

SwaggerClient::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

Array<AssetsConfig> wallet_get_assets_config

Get Assets Config

Example

# load the gem
require 'swagger_client'

api_instance = SwaggerClient::WalletApi.new

begin
  #Get Assets Config
  result = api_instance.wallet_get_assets_config
  p result
rescue SwaggerClient::ApiError => e
  puts "Exception when calling WalletApi->wallet_get_assets_config: #{e}"
end

Parameters

This endpoint does not need any parameter.

Return type

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

wallet_get_networks_config

Array<NetworksConfig> wallet_get_networks_config

Get Networks Config

Example

# load the gem
require 'swagger_client'

api_instance = SwaggerClient::WalletApi.new

begin
  #Get Networks Config
  result = api_instance.wallet_get_networks_config
  p result
rescue SwaggerClient::ApiError => e
  puts "Exception when calling WalletApi->wallet_get_networks_config: #{e}"
end

Parameters

This endpoint does not need any parameter.

Return type

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