Skip to content

Latest commit

 

History

History
98 lines (66 loc) · 2.92 KB

SWGWalletApi.md

File metadata and controls

98 lines (66 loc) · 2.92 KB

SWGWalletApi

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

-(NSURLSessionTask*) walletGetAssetsConfigWithCompletionHandler: 
        (void (^)(NSArray<SWGAssetsConfig>* output, NSError* error)) handler;

Get Assets Config

Example

SWGWalletApi*apiInstance = [[SWGWalletApi alloc] init];

// Get Assets Config
[apiInstance walletGetAssetsConfigWithCompletionHandler: 
          ^(NSArray<SWGAssetsConfig>* output, NSError* error) {
                        if (output) {
                            NSLog(@"%@", output);
                        }
                        if (error) {
                            NSLog(@"Error calling SWGWalletApi->walletGetAssetsConfig: %@", error);
                        }
                    }];

Parameters

This endpoint does not need any parameter.

Return type

NSArray*

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]

walletGetNetworksConfig

-(NSURLSessionTask*) walletGetNetworksConfigWithCompletionHandler: 
        (void (^)(NSArray<SWGNetworksConfig>* output, NSError* error)) handler;

Get Networks Config

Example

SWGWalletApi*apiInstance = [[SWGWalletApi alloc] init];

// Get Networks Config
[apiInstance walletGetNetworksConfigWithCompletionHandler: 
          ^(NSArray<SWGNetworksConfig>* output, NSError* error) {
                        if (output) {
                            NSLog(@"%@", output);
                        }
                        if (error) {
                            NSLog(@"Error calling SWGWalletApi->walletGetNetworksConfig: %@", error);
                        }
                    }];

Parameters

This endpoint does not need any parameter.

Return type

NSArray*

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]