List Stakes

Retrieves a paginated list of all stakes.

HTTP request
GET/staking/stakes
Authorization requirements
Header Type Required Description
Authorization string Yes Bearer token used to authenticate the request. See Authentication flows for instructions on generating this token.
Query parameter
Parameter Type Default Description
limit integer 50 Maximum number of items to return. Must be between 1 and 500.
paginationToken string None Opaque token used to retrieve the next page of results. Returned as nextPageToken in the previous response. Minimum length is 1.
Request body
curl --request GET \
  --url 'https://api.digitalassets.ibm.com/staking/stakes?limit=50' \
  --header 'Authorization: Bearer <token>'
Response
200: Success

Example response:

{{
  "items": [
    {
      "id": "<string>",
      "walletId": "<string>",
      "status": "Active",
      "requester": {
        "userId": "<string>",
        "tokenId": "<string>"
      },
      "requestBody": {
        "protocol": "Babylon",
        "walletId": "<string>",
        "provider": "Figment",
        "amount": "<string>",
        "duration": 123,
        "externalId": "<string>"
      },
      "dateCreated": "<string>",
      "protocol": "Babylon",
      "data": {
        "finalityProviders": [
          "<string>"
        ],
        "covenantPubkeys": [
          "<string>"
        ],
        "magicBytes": "<string>",
        "covenantThreshold": 123,
        "minUnbondingTime": 123,
        "lockHeight": 123
      },
      "provider": "Figment"
    }
  ],
  "nextPageToken": "<string>"
}