-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathGlobalConst.java
More file actions
18 lines (16 loc) · 1015 Bytes
/
Copy pathGlobalConst.java
File metadata and controls
18 lines (16 loc) · 1015 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package com.bitmart.api.common;
public final class GlobalConst {
public static final String USER_AGENT = "User-Agent";
public static final String X_BM_KEY = "X-BM-KEY";
public static final String X_BM_TIMESTAMP = "X-BM-TIMESTAMP";
public static final String X_BM_SIGN = "X-BM-SIGN";
public static final String CLOUD_URL = "https://api-cloud.bitmart.com";
public static final String CLOUD_V2_URL = "https://api-cloud-v2.bitmart.com";
public static final String CLOUD_SPOT_WS_PUBLIC_URL = "wss://ws-manager-compress.bitmart.com/api?protocol=1.1";
public static final String CLOUD_SPOT_WS_PRIVATE_URL = "wss://ws-manager-compress.bitmart.com/user?protocol=1.1";
public static final String CLOUD_FUTURES_WS_PUBLIC_URL = "wss://openapi-ws-v2.bitmart.com/api?protocol=1.1";
public static final String CLOUD_FUTURES_WS_PRIVATE_URL = "wss://openapi-ws-v2.bitmart.com/user?protocol=1.1";
private GlobalConst() {
throw new IllegalStateException("Utility class");
}
}