Documentation
Get Subaccount Hashrate And Worker Status
GET /api/subaccount/hashrate?coin={coin}&sid={sid}: Get Subaccount Hashrate And Worker Status.
Get Subaccount Hashrate And Worker Status
This chapter documents the request shape, parameters, and response for GET /api/subaccount/hashrate?coin={coin}&sid={sid}.
Note
The endpoint contract below is carried over from the legacy RustMinerSystem documentation and organized under the current PoolNode documentation structure. Use your actual node address, secure route, and backend version when integrating.
Endpoint Contract
URL:
/api/subaccount/hashrate?coin={coin}&sid={sid}
METHOD:
GET
PARAMS:
coin传入对应币种,例如BTC、LTC....
sid传入子账号id
RESULT:
{
"avg_hashrate1440": "0", // 24小时平均算力
"hashrate": "0", // 当前算力
"lost": 0, // 失效设备数量
"offline": 0, // 离线数量
"online": 0 // 在线数量
}
