POST /delegation/pool

Changed on

Returns the list of delegations for the provided pools. The pool field in the response will be null when the address was previously delegating to a pool in the input, but now the delegation is moved to a pool outside the list, or when the staking key is unregistered.

This is useful to keep track of the delegators for a particular pool.

Request

  • Base URL
    / (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /delegation/pool
  • Auth
    none required

Request body

limitnumber double
poolsPool[] required
untilBlockstring required

block hash - inclusive

Example request

{
  "pools": [
    "8200581c8baf48931c5187cd59fde553f4e7da2e1a2aa9202ec6e67815cb3f8a"
  ],
  "after": {
    "tx": "336d520af58ff440b2f20210ddb5ef5b2c035e0ec7ec258bae4b519a87fa1696",
    "block": "2548ad5d0d9d33d50ab43151f574474454017a733e307229fa509c4987ca9782"
  },
  "untilBlock": "cf8c63a909d91776e27f7d05457e823a9dba606a7ab499ac435e7904ee70d7c8"
}

Response

blockstring required
txIdstring required

Example response

[
  {
    "payload": [
      {
        "pool": "8200581c8baf48931c5187cd59fde553f4e7da2e1a2aa9202ec6e67815cb3f8a",
        "credential": "8200581c8baf48931c5187cd59fde553f4e7da2e1a2aa9202ec6e67815cb3f8a"
      }
    ]
  }
]

Changes

    • breaking

      added subschema #1 to the request body allOf list

    • breaking

      the request's body type changed from object to no type

    • breaking

      removed the required property / from the response with the status

    • breaking

      removed the required property / from the response with the status

    • breaking

      removed the required property / from the response with the status

    • warning

      removed the request property

    • warning

      removed the request property

    • info

      added the required property / to the response with the status

    • info

      added the required property / to the response with the status

    • info

      endpoint added