List stake actions

Retrieves a paginated list of actions performed on a specific stake.

HTTP request
GET/staking/stakes/{stakeId}/actions
Authentication
Authentication Type Supported
Organization User (CustomerEmployee) Yes
Delegated User (EndUser) No
Service Account Yes
Required permissions
Stakes:Read (always required)
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.
Path parameters
Parameter Type Required Description
stakeId string Yes Unique identifier of the stake. Minimum length is 1 character.
Query parameters
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/{stakeId}/actions?limit=50' \
  --header 'Authorization: Bearer <token>'
Response
200: Success

Example response:

{
  "items": [
    {
      "id": "<string>",
      "stakeId": "<string>",
      "kind": "Stake",
      "requester": {
        "userId": "<string>",
        "tokenId": "<string>"
      },
      "requestBody": {
        "protocol": "Babylon",
        "walletId": "<string>",
        "provider": "Figment",
        "amount": "<string>",
        "duration": 123,
        "externalId": "<string>"
      },
      "dateCreated": "<string>",
      "transactionId": "<string>",
      "signatureId": "<string>",
      "transactionHash": "<string>",
      "failureReason": "<string>"
    }
  ],
  "nextPageToken": "<string>"
}