curl --request GET \
--url https://api.dfns.io/staking/stakes \
--header 'Authorization: Bearer <token>'{
"items": [
{
"id": "<string>",
"walletId": "<string>",
"status": "Active",
"requester": {
"userId": "us-6b58p-r53sr-rlrd3l5cj3uc4ome",
"tokenId": "to-202a0-cdo33-o65mbt6q758lvvnt"
},
"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>"
}Retrieve the list of stakes.
curl --request GET \
--url https://api.dfns.io/staking/stakes \
--header 'Authorization: Bearer <token>'{
"items": [
{
"id": "<string>",
"walletId": "<string>",
"status": "Active",
"requester": {
"userId": "us-6b58p-r53sr-rlrd3l5cj3uc4ome",
"tokenId": "to-202a0-cdo33-o65mbt6q758lvvnt"
},
"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>"
}CustomerEmployee)EndUser)Stakes:Read: Always required.Bearer Token: Used to authenticate API requests. More details how to generate the token: Authentication flows
Maximum number of items to return.
1 <= x <= 500Opaque token used to retrieve the next page. Returned as nextPageToken from the previous request.
1Was this page helpful?