API Docs
Get Worker Details

Returns the details of all workers in a subaccount

Example

query getWorkerDetails {
  getWorkerDetails(duration: { days: 10 }, mpn: ARRR, uname: "", first: 10) {
    edges {
      node {
        minerId
        workerName
        miningProfileName
        updatedAt
        status
        hashrate
        validShares
        staleShares
        invalidShares
        lowDiffShares
        badShares
        duplicateShares
        revenue
        efficiency
      }
    }
  }
}

Response

{
  "data": {
    "getWorkerDetails": {
      "edges": [
        {
          "node": {
            "minerId": "",
            "workerName": "",
            "miningProfileName": "",
            "updatedAt": "",
            "status": "",
            "hashrate": "",
            "validShares": "",
            "staleShares": "",
            "invalidShares": "",
            "lowDiffShares": "",
            "badShares": "",
            "duplicateShares": "",
            "revenue": "",
            "efficiency": ""
          }
        }
      ]
    }
  }
}

Arguments

mpn (MiningProfileName!)

duration (IntervalInput!)

uname (String!)

first (Int)

Only read the first n values of the set.

last (Int)

Only read the last n values of the set.

offset (Int)

Skip the first n values from our after cursor, an alternative to cursor based pagination. May not be used with last.

before (Cursor)

Read all values in the set before (above) this cursor.

after (Cursor)

Read all values in the set after (below) this cursor.

Type

MinerDetailMaterializedsConnection

A connection to a list of MinerDetailMaterialized values.