Class Mining
java.lang.Object
com.binance.connector.client.impl.spot.Mining
Mining Endpoints
All endpoints under the Mining Endpoint section of the API documentation will be implemented in this class.Response will be returned in String format.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaccountList(LinkedHashMap<String,Object> parameters)
GET /sapi/v1/mining/statistics/user/listalgorithm(LinkedHashMap<String,Object> parameters)
GET /sapi/v1/mining/pub/algoListbonusList(LinkedHashMap<String,Object> parameters)
GET /sapi/v1/mining/payment/othercancelHashrateResaleConfig(LinkedHashMap<String,Object> parameters)
GET /sapi/v1/mining/hash-transfer/config/cancelcoinName(LinkedHashMap<String,Object> parameters)
GET /sapi/v1/mining/pub/coinListdetailMinerList(LinkedHashMap<String,Object> parameters)
GET /sapi/v1/mining/worker/detailearningList(LinkedHashMap<String,Object> parameters)
GET /sapi/v1/mining/payment/listhashrateResaleDetail(LinkedHashMap<String,Object> parameters)
GET /sapi/v1/mining/hash-transfer/profit/detailshashrateResaleList(LinkedHashMap<String,Object> parameters)
GET /sapi/v1/mining/hash-transfer/config/details/listhashrateResaleRequest(LinkedHashMap<String,Object> parameters)
GET /sapi/v1/mining/hash-transfer/configminerList(LinkedHashMap<String,Object> parameters)
GET /sapi/v1/mining/worker/liststatsticsList(LinkedHashMap<String,Object> parameters)
GET /sapi/v1/mining/statistics/user/status
-
Constructor Details
-
Mining
-
-
Method Details
-
algorithm
GET /sapi/v1/mining/pub/algoList- Parameters:
parameters
- LinkedHashedMap of String,Object pair where String is the name of the parameter and Object is the value of the parameter
recvWindow -- optional/long- Returns:
- String
- See Also:
- https://binance-docs.github.io/apidocs/spot/en/#acquiring-algorithm-user_data
-
coinName
GET /sapi/v1/mining/pub/coinList- Parameters:
parameters
- LinkedHashedMap of String,Object pair where String is the name of the parameter and Object is the value of the parameter
recvWindow -- optional/long- Returns:
- String
- See Also:
- https://binance-docs.github.io/apidocs/spot/en/#acquiring-coinname-user_data
-
detailMinerList
GET /sapi/v1/mining/worker/detail- Parameters:
parameters
- LinkedHashedMap of String,Object pair where String is the name of the parameter and Object is the value of the parameter
algo -- mandatory/string -- sha256
userName -- mandatory/string -- Mining account
workerName -- mandatory/string -- Miner's name(required)
recvWindow -- optional/long- Returns:
- String
- See Also:
- https://binance-docs.github.io/apidocs/spot/en/#request-for-detail-miner-list-user_data
-
minerList
GET /sapi/v1/mining/worker/list- Parameters:
parameters
- LinkedHashedMap of String,Object pair where String is the name of the parameter and Object is the value of the parameter
algo -- mandatory/string -- sha256
userName -- mandatory/string -- Mining account
pageIndex -- optional/int -- Page number,default is first page,start form 1
sort -- optional/int -- sort sequence(default=0)0 positive sequence, 1 negative sequence
sortColumn -- optional/int -- Sort by( default 1): 1: miner name, 2: real-time computing power, 3: daily average computing power, 4: real-time rejection rate, 5: last submission time
workerStatus -- optional/int -- miners status(default=0)0 all,1 valid,2 invalid,3 failure
recvWindow -- optional/long- Returns:
- String
- See Also:
- https://binance-docs.github.io/apidocs/spot/en/#request-for-miner-list-user_data
-
earningList
GET /sapi/v1/mining/payment/list- Parameters:
parameters
- LinkedHashedMap of String,Object pair where String is the name of the parameter and Object is the value of the parameter
algo -- mandatory/string -- sha256
userName -- mandatory/string -- Mining account
coin -- optional/string
startDate -- optional/long -- Search date, millisecond timestamp, while empty query all
endDate -- optional/long -- Search date, millisecond timestamp, while empty query all
pageIndex -- optional/int -- Page number, empty default first page, starting from 1
pageSize -- optional/int -- Number of pages, minimum 10, maximum 200
recvWindow -- optional/long- Returns:
- String
- See Also:
- https://binance-docs.github.io/apidocs/spot/en/#earnings-list-user_data
-
bonusList
GET /sapi/v1/mining/payment/other- Parameters:
parameters
- LinkedHashedMap of String,Object pair where String is the name of the parameter and Object is the value of the parameter
algo -- mandatory/string -- sha256
userName -- mandatory/string -- Mining account
coin -- optional/string
startDate -- optional/long -- Search date, millisecond timestamp, while empty query all
endDate -- optional/long -- Search date, millisecond timestamp, while empty query all
pageIndex -- optional/int -- Page number, empty default first page, starting from 1
pageSize -- optional/int -- Number of pages, minimum 10, maximum 200
recvWindow -- optional/long- Returns:
- String
- See Also:
- https://binance-docs.github.io/apidocs/spot/en/#extra-bonus-list-user_data
-
hashrateResaleList
GET /sapi/v1/mining/hash-transfer/config/details/list- Parameters:
parameters
- LinkedHashedMap of String,Object pair where String is the name of the parameter and Object is the value of the parameter
pageIndex -- optional/int -- Page number, empty default first page, starting from 1
pageSize -- optional/int -- Number of pages, minimum 10, maximum 200
recvWindow -- optional/long- Returns:
- String
- See Also:
- https://binance-docs.github.io/apidocs/spot/en/#hashrate-resale-list-user_data
-
hashrateResaleDetail
GET /sapi/v1/mining/hash-transfer/profit/details- Parameters:
parameters
- LinkedHashedMap of String,Object pair where String is the name of the parameter and Object is the value of the parameter
configId -- mandatory/int -- Mining ID
userName -- mandatory/string -- Mining Account
pageIndex -- optional/int -- Page number, empty default first page, starting from 1
pageSize -- optional/int -- Number of pages, minimum 10, maximum 200
recvWindow -- optional/long- Returns:
- String
- See Also:
- https://binance-docs.github.io/apidocs/spot/en/#hashrate-resale-detail-user_data
-
hashrateResaleRequest
GET /sapi/v1/mining/hash-transfer/config- Parameters:
parameters
- LinkedHashedMap of String,Object pair where String is the name of the parameter and Object is the value of the parameter
userName -- mandatory/string -- Mining Account
algo -- mandatory/string -- Transfer algorithm(sha256)
endDate -- mandatory/long -- Resale End Time (Millisecond timestamp)
startDate -- mandatory/long -- Resale Start Time(Millisecond timestamp)
toPoolUser -- mandatory/string -- Mining Account
hashRate -- mandatory/long -- Resale hashrate h/s must be transferred (BTC is greater than 500000000000 ETH is greater than 500000)
recvWindow -- optional/long- Returns:
- String
- See Also:
- https://binance-docs.github.io/apidocs/spot/en/#hashrate-resale-request-user_data
-
cancelHashrateResaleConfig
GET /sapi/v1/mining/hash-transfer/config/cancel- Parameters:
parameters
- LinkedHashedMap of String,Object pair where String is the name of the parameter and Object is the value of the parameter
configId -- mandatory/int -- Mining ID
userName -- mandatory/string -- Mining Account
recvWindow -- optional/long- Returns:
- String
- See Also:
- https://binance-docs.github.io/apidocs/spot/en/#cancel-hashrate-resale-configuration-user_data
-
statsticsList
GET /sapi/v1/mining/statistics/user/status- Parameters:
parameters
- LinkedHashedMap of String,Object pair where String is the name of the parameter and Object is the value of the parameter
algo -- mandatory/string -- Algorithm(sha256)
userName -- mandatory/string -- Mining Account
recvWindow -- optional/long- Returns:
- String
- See Also:
- https://binance-docs.github.io/apidocs/spot/en/#statistic-list-user_data
-
accountList
GET /sapi/v1/mining/statistics/user/list- Parameters:
parameters
- LinkedHashedMap of String,Object pair where String is the name of the parameter and Object is the value of the parameter
algo -- mandatory/string -- Algorithm(sha256)
userName -- mandatory/string -- Mining Account
recvWindow -- optional/long- Returns:
- String
- See Also:
- https://binance-docs.github.io/apidocs/spot/en/#account-list-user_data
-