Hashrate Resale Request(USER_DATA)
API Description
Hashrate Resale Request
HTTP Request
POST /sapi/v1/mining/hash-transfer/config
Request Weight(IP)
5
Request Parameters
| Name | Type | Mandatory | Description | Example |
|---|---|---|---|---|
| userName | STRING | YES | Mining Account | test |
| algo | STRING | YES | Transfer algorithm(sha256) | sha256 |
| endDate | Long | YES | Resale End Time (Millisecond timestamp) | 1617659086000 |
| startDate | Long | YES | Resale Start Time(Millisecond timestamp) | 1607659086000 |
| toPoolUser | STRING | YES | Mining Account | S19pro |
| hashRate | Long | YES | Resale hashrate h/s must be transferred (BTC is greater than 500000000000 ETH is greater than 500000) | 100000000 |
| recvWindow | LONG | NO | ||
| timestamp | LONG | YES |
Response Example
{
"code": 0,
"msg": "",
"data": 171 // Mining Account
}