Binance.Mining (binance v2.0.1)
Mining Endpoints
Summary
Functions
Hashrate Resale List (USER_DATA)
Hashrate Resale Detail (USER_DATA)
Earnings List (USER_DATA)
Extra Bonus List (USER_DATA)
Mining Account Earning (USER_DATA)
Acquiring Algorithm (MARKET_DATA)
Acquiring CoinName (MARKET_DATA)
Account List (USER_DATA)
Statistic List (USER_DATA)
Request for Detail Miner List (USER_DATA)
Request for Miner List (USER_DATA)
Hashrate Resale Request (USER_DATA)
Cancel hashrate resale configuration (USER_DATA)
Functions
get_mining_hash_transfer_config_details_list(opts \\ [])
@spec get_mining_hash_transfer_config_details_list( recvWindow: any(), pageSize: any(), pageIndex: any(), timestamp: any() ) :: {:ok, any()} | {:error, any()}
Hashrate Resale List (USER_DATA)
Weight(IP): 5
Details:
- METHOD: get
- URL: /sapi/v1/mining/hash-transfer/config/details/list
Mandatory params:
Optional params:
- timestamp - timestamp
- pageIndex - Page number, default is first page, start form 1
- pageSize - Number of pages, minimum 10, maximum 200
- recvWindow - The value cannot be greater than 60000
get_mining_hash_transfer_profit_details(configId, userName, opts \\ [])
@spec get_mining_hash_transfer_profit_details(any(), any(), recvWindow: any(), pageSize: any(), pageIndex: any(), timestamp: any() ) :: {:ok, any()} | {:error, any()}
Hashrate Resale Detail (USER_DATA)
Weight(IP): 5
Details:
- METHOD: get
- URL: /sapi/v1/mining/hash-transfer/profit/details
Mandatory params:
- configId - Mining ID
- userName - Mining Account
Optional params:
- timestamp - timestamp
- pageIndex - Page number, default is first page, start form 1
- pageSize - Number of pages, minimum 10, maximum 200
- recvWindow - The value cannot be greater than 60000
get_mining_payment_list(algo, userName, opts \\ [])
@spec get_mining_payment_list(any(), any(), recvWindow: any(), pageSize: any(), pageIndex: any(), endDate: any(), startDate: any(), coin: any(), timestamp: any() ) :: {:ok, any()} | {:error, any()}
Earnings List (USER_DATA)
Weight(IP): 5
Details:
- METHOD: get
- URL: /sapi/v1/mining/payment/list
Mandatory params:
- algo - Algorithm(sha256)
- userName - Mining Account
Optional params:
- timestamp - timestamp
- coin - Coin name
- startDate - Search date, millisecond timestamp, while empty query all
- endDate - Search date, millisecond timestamp, while empty query all
- pageIndex - Page number, default is first page, start form 1
- pageSize - Number of pages, minimum 10, maximum 200
- recvWindow - The value cannot be greater than 60000
get_mining_payment_other(algo, userName, opts \\ [])
@spec get_mining_payment_other(any(), any(), recvWindow: any(), pageSize: any(), pageIndex: any(), endDate: any(), startDate: any(), coin: any(), timestamp: any() ) :: {:ok, any()} | {:error, any()}
Extra Bonus List (USER_DATA)
Weight(IP): 5
Details:
- METHOD: get
- URL: /sapi/v1/mining/payment/other
Mandatory params:
- algo - Algorithm(sha256)
- userName - Mining Account
Optional params:
- timestamp - timestamp
- coin - Coin name
- startDate - Search date, millisecond timestamp, while empty query all
- endDate - Search date, millisecond timestamp, while empty query all
- pageIndex - Page number, default is first page, start form 1
- pageSize - Number of pages, minimum 10, maximum 200
- recvWindow - The value cannot be greater than 60000
get_mining_payment_uid(algo, opts \\ [])
@spec get_mining_payment_uid(any(), recvWindow: any(), pageSize: any(), pageIndex: any(), endDate: any(), startDate: any(), timestamp: any() ) :: {:ok, any()} | {:error, any()}
Mining Account Earning (USER_DATA)
Weight(IP): 5
Details:
- METHOD: get
- URL: /sapi/v1/mining/payment/uid
Mandatory params:
- algo - Algorithm(sha256)
Optional params:
- timestamp - timestamp
- startDate - Search date, millisecond timestamp, while empty query all
- endDate - Search date, millisecond timestamp, while empty query all
- pageIndex - Page number, default is first page, start form 1
- pageSize - Number of pages, minimum 10, maximum 200
- recvWindow - The value cannot be greater than 60000
get_mining_pub_algo_list(opts \\ [])
Acquiring Algorithm (MARKET_DATA)
Weight(IP): 1
Details:
- METHOD: get
- URL: /sapi/v1/mining/pub/algoList
Mandatory params:
Optional params:
get_mining_pub_coin_list(opts \\ [])
Acquiring CoinName (MARKET_DATA)
Weight(IP): 1
Details:
- METHOD: get
- URL: /sapi/v1/mining/pub/coinList
Mandatory params:
Optional params:
get_mining_statistics_user_list(algo, userName, opts \\ [])
@spec get_mining_statistics_user_list(any(), any(), recvWindow: any(), timestamp: any() ) :: {:ok, any()} | {:error, any()}
Account List (USER_DATA)
Weight(IP): 5
Details:
- METHOD: get
- URL: /sapi/v1/mining/statistics/user/list
Mandatory params:
- algo - Algorithm(sha256)
- userName - Mining Account
Optional params:
- timestamp - timestamp
- recvWindow - The value cannot be greater than 60000
get_mining_statistics_user_status(algo, userName, opts \\ [])
@spec get_mining_statistics_user_status(any(), any(), recvWindow: any(), timestamp: any() ) :: {:ok, any()} | {:error, any()}
Statistic List (USER_DATA)
Weight(IP): 5
Details:
- METHOD: get
- URL: /sapi/v1/mining/statistics/user/status
Mandatory params:
- algo - Algorithm(sha256)
- userName - Mining Account
Optional params:
- timestamp - timestamp
- recvWindow - The value cannot be greater than 60000
get_mining_worker_detail(algo, userName, workerName, opts \\ [])
@spec get_mining_worker_detail(any(), any(), any(), recvWindow: any(), timestamp: any() ) :: {:ok, any()} | {:error, any()}
Request for Detail Miner List (USER_DATA)
Weight(IP): 5
Details:
- METHOD: get
- URL: /sapi/v1/mining/worker/detail
Mandatory params:
- algo - Algorithm(sha256)
- userName - Mining Account
- workerName - Miner’s name
Optional params:
- timestamp - timestamp
- recvWindow - The value cannot be greater than 60000
get_mining_worker_list(algo, userName, opts \\ [])
@spec get_mining_worker_list(any(), any(), recvWindow: any(), workerStatus: any(), sortColumn: any(), sort: any(), pageIndex: any(), timestamp: any() ) :: {:ok, any()} | {:error, any()}
Request for Miner List (USER_DATA)
Weight(IP): 5
Details:
- METHOD: get
- URL: /sapi/v1/mining/worker/list
Mandatory params:
- algo - Algorithm(sha256)
- userName - Mining Account
Optional params:
- timestamp - timestamp
- pageIndex - Page number, default is first page, start form 1
- sort - sort sequence(default=0)0 positive sequence, 1 negative sequence
- sortColumn - 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 - miners status(default=0)0 all, 1 valid, 2 invalid, 3 failure
- recvWindow - The value cannot be greater than 60000
post_mining_hash_transfer_config(userName, algo, toPoolUser, hashRate, opts \\ [])
@spec post_mining_hash_transfer_config(any(), any(), any(), any(), recvWindow: any(), endDate: any(), startDate: any(), timestamp: any() ) :: {:ok, any()} | {:error, any()}
Hashrate Resale Request (USER_DATA)
Weight(IP): 5
Details:
- METHOD: post
- URL: /sapi/v1/mining/hash-transfer/config
Mandatory params:
- userName - Mining Account
- algo - Algorithm(sha256)
- toPoolUser - Mining Account
- hashRate - Resale hashrate h/s must be transferred (BTC is greater than 500000000000 ETH is greater than 500000)
Optional params:
- timestamp - timestamp
- startDate - Search date, millisecond timestamp, while empty query all
- endDate - Search date, millisecond timestamp, while empty query all
- recvWindow - The value cannot be greater than 60000
post_mining_hash_transfer_config_cancel(configId, userName, opts \\ [])
@spec post_mining_hash_transfer_config_cancel(any(), any(), recvWindow: any(), timestamp: any() ) :: {:ok, any()} | {:error, any()}
Cancel hashrate resale configuration (USER_DATA)
Weight(IP): 5
Details:
- METHOD: post
- URL: /sapi/v1/mining/hash-transfer/config/cancel
Mandatory params:
- configId - Mining ID
- userName - Mining Account
Optional params:
- timestamp - timestamp
- recvWindow - The value cannot be greater than 60000