GET

Get latest confirmed benchmarks for a player

Changed on

Notes

  • Query parameter <block_id> must be the latest block. Use /get-block endpoint

  • Query parameter <player_id> must be lowercase and start with 0x

  • Returns all confirmed precommits, benchmarks, proofs, and frauds for the player where the benchmark was started within 120 blocks of the latest block.

  • Fields benchmark.solution_nonces, benchmark.discarded_solution_nonces, benchmark.non_solution_nonces, proof.merkle_proofs, and fraud.allegation will always be null

    • To retrieve that data, use /get-benchmark-data endpoint
get/get-benchmarks

Request

Query parameters

block_idstring required
player_idstring required

Id of player

Response

Success

Example response

{
  "precommits": [
    {
      "details": {
        "fee_paid": "123456789123456789"
      },
      "settings": {
        "challenge_id": "c002",
        "algorithm_id": "c002_a001",
        "track_id": "num_variables=100,clauses_to_variables_percent=426"
      }
    }
  ]
}

Changes

    • breaking

      the /// response's property format changed from uint32 to uint64 for status

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property /// to the response with the status

    • warning

      removed the optional property /// from the response with the status

    • info

      added the optional property /// to the response with the status