API Docs
Worker Management
Get Equi Hashrate Score History

Get Equi Hashrate Score History

Retrieves switch hashrate revenue scoring summary for a user.

Example

query getEquiHashrateScoreHistory {
  getEquiHashrateScoreHistory(uname: "your_username", first: 100) {
    nodes {
      date
      efficiency
      hashrate
      balance
      bonusBtc
      upliftPercentage
      uptimePercentage
      uptimeTotalMachines
      uptimeTotalMinutes
    }
  }
}

Response

{
  "data": {
    "getEquiHashrateScoreHistory": {
      "edges": [
        {
          "nodes": {
            "date": "",
            "efficiency": "",
            "hashrate": "",
            "balance": "",
            "bonusBtc": "",
            "upliftPercentage": "",
            "uptimePercentage": "",
            "uptimeTotalMachines": "",
            "uptimeTotalMinutes": ""
          }
        }
      ]
    }
  }
}

Arguments

  • 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

EquiHashrateScoreHistoriesConnection

A connection to a list of EquiHashrateScoreHistory values.

type EquiHashrateScoreHistoriesConnection {
  nodes: [EquiHashrateScoreHistory!]!
  edges: [EquiHashrateScoreHistoriesEdge!]!
  pageInfo: PageInfo!
  totalCount: Int!
}
Fields
  • nodes ([EquiHashrateScoreHistory!]!)

A list of EquiHashrateScoreHistory objects.

type EquiHashrateScoreHistory {
  date: Datetime!
  hashrate: BigFloat!
  efficiency: BigFloat!
  balance: BigFloat!
  upliftPercentage: BigFloat!
  bonusBtc: BigFloat!
  uptimeTotalMachines: BigFloat
  uptimeTotalMinutes: BigFloat
  uptimePercentage: BigFloat
}
  • edges ([EquiHashrateScoreHistoriesEdge!]!)

A list of edges which contains the EquiHashrateScoreHistory and cursor to aid in pagination.

type EquiHashrateScoreHistoriesEdge {
  cursor: Cursor
  node: EquiHashrateScoreHistory!
}
  • pageInfo (PageInfo!) Information to aid in pagination.

    type PageInfo {
      hasNextPage: Boolean!
      hasPreviousPage: Boolean!
      startCursor: Cursor
      endCursor: Cursor
    }
  • totalCount (Int!) The count of all EquiHashrateScoreHistory you could get from the connection.