All URIs are relative to https://www.bitmex.com/api/v1
| Method | HTTP request | Description |
|---|---|---|
| AddressGet | Get /address | Get your addresses. |
| AddressNew | Post /address | Creates a new saved address. |
[]Address AddressGet(ctx, ) Get your addresses.
This endpoint does not need any parameter.
apiExpires, apiKey, apiSignature
- 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]
Address AddressNew(ctx, currency, network, address, name, optional) Creates a new saved address.
| Name | Type | Description | Notes |
|---|---|---|---|
| ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
| currency | string | Currency of the address. Options: `XBt`, `USDt` | |
| network | string | Selected network. | |
| address | string | Destination Address. | |
| name | string | Name of the entry, eg. 'Hardware wallet'. | |
| optional | *AddressApiAddressNewOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a AddressApiAddressNewOpts struct
| Name | Type | Description | Notes |
|---|
note | optional.String| Optional annotation. | skipConfirm | optional.Bool| Skip e-mail confirmations for transfers to this address. Will require an email confirmation after creation. | [default to false] skip2FA | optional.Bool| Skip 2FA confirmations for transfers to this address. Will require an email confirmation after creation. | [default to false] memo | optional.String| Destination Memo. |
apiExpires, apiKey, apiSignature
- 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]