v34

latestOpenAPI 3.0.0End User License Agreementraw.githubusercontent.com2026-08-01249654.9 KB
GET

Get latest algorithm data (code, binarys and advances)

Notes

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

  • player_details is a map of <player_id> to PlayerDetails

get/get-algorithms

Query parameters

block_idstring required

Response

Success

player_detailsobject

Map of player_id to PlayerDetails

Example response

{
  "codes": [
    {
      "id": "c002_a001",
      "details": {
        "name": "clarke_wright",
        "challenge_id": "c002",
        "algorithm_id": "c002_a001",
        "fee_paid": "123456789123456789"
      },
      "block_data": {
        "num_qualifiers_by_track_by_player": {
          "n=100": {
            "0x1234...": 3,
            "0x5678...": 5
          },
          "n=200": {
            "0x1234...": 3,
            "0x5678...": 4
          }
        },
        "adoption": "123456789123456789",
        "reward": "123456789123456789"
      }
    }
  ],
  "advances": [
    {
      "id": "c002_a001",
      "details": {
        "challenge_id": "c002"
      },
      "state": {
        "vote_tally": {
          "true": "123456789123456789",
          "false": "123456789123456789"
        }
      },
      "block_data": {
        "adoption": "123456789123456789",
        "reward": "123456789123456789"
      }
    }
  ],
  "binarys": [
    {
      "algorithm_id": "c002_a001"
    }
  ]
}
All 24 operations