GET

Get latest OPoW data

Notes

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

  • Each opow is for a specific Benchmarker. opow.block_data.reward is the reward before any sharing amongst delegators

  • player_details is a map of <player_id> to PlayerDetails

get/get-opow

Query parameters

block_idstring required

Response

Success

player_detailsobject

Map of player_id to PlayerDetails

Example response

{
  "opow": [
    {
      "block_data": {
        "num_qualifiers_by_challenge_by_track": {
          "c001": {
            "n=100": 5,
            "n=200": 3
          },
          "c002": {
            "n=100": 2,
            "n=200": 4
          }
        },
        "num_potential_qualifiers_by_challenge_by_track": {
          "c001": {
            "n=100": 5,
            "n=200": 3
          },
          "c002": {
            "n=100": 2,
            "n=200": 4
          }
        },
        "weighted_self_deposit": "123456789123456789",
        "weighted_delegated_deposit": "123456789123456789",
        "reward_share": "123456789123456789",
        "imbalance": "123456789123456789",
        "influence": "123456789123456789",
        "reward": "123456789123456789"
      }
    }
  ]
}

Changes

Changed in 10 of the 34 revisions of this API.5612

    • removed the optional property from the response with the status

      response-optional-property-removed

    • added the optional property to the response with the status

      response-optional-property-added

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

      response-optional-property-removed

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

      response-optional-property-removed

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

      response-optional-property-added

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

      response-optional-property-added

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

      response-optional-property-removed

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

      response-optional-property-removed

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

      response-optional-property-added

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

      response-optional-property-added

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

      response-property-type-changed

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

      response-property-type-changed

    • the //// response's property type changed from double to number for status

      response-property-type-changed

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

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

      response-optional-property-added

  • f379c149170e114See the full diff
    • the /// response's property type changed from number to string, and format from double to no format for status

      response-property-type-changed

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

      response-optional-property-removed

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

      response-optional-property-added

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

      response-optional-property-added

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

      response-optional-property-added

    • the /// response's property pattern ^[0-9]+$ was added for the status

      response-property-pattern-added

    • added the optional property to the response with the status

      response-optional-property-added

    • endpoint added

      endpoint-added

    This revision also has 6 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • api path removed without deprecation

      api-path-removed-without-deprecation

    This revision also has 73 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog