Skip to main content
GET
/
staking
/
stakes
List Stakes
curl --request GET \
  --url https://api.dfns.io/staking/stakes \
  --header 'Authorization: Bearer <token>'
{
  "items": [
    {
      "id": "<string>",
      "provider": "Figment",
      "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
      }
    }
  ],
  "nextPageToken": "<string>"
}

Authentication

✅ Organization User (CustomerEmployee)
❌ Delegated User (EndUser)
✅ Service Account

Required Permissions

Stakes:Read: Always required.

Authorizations

Authorization
string
header
required

Bearer Token: Used to authenticate API requests. More details how to generate the token: Authentication flows

Query Parameters

limit
integer
default:50

Maximum number of items to return.

Required range: 1 <= x <= 500
paginationToken
string

Opaque token used to retrieve the next page. Returned as nextPageToken from the previous request.

Minimum length: 1

Response

200 - application/json

Success

items
(Babylon · object | Iota · object | Ethereum · object)[]
required
  • Babylon
  • Iota
  • Ethereum
nextPageToken
string
I