Skip to content

Commit

Permalink
Merge pull request #142 from fireblocks/SlavaSereb-patch-48
Browse files Browse the repository at this point in the history
Update Staking schemas
  • Loading branch information
SlavaSereb authored Dec 31, 2024
2 parents 03a4a25 + 5cfa2a7 commit 6ee8c9c
Showing 1 changed file with 11 additions and 38 deletions.
49 changes: 11 additions & 38 deletions api-spec-v2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19159,6 +19159,14 @@ components:
UnstakeRequestDto:
type: object
properties:
amount:
type: string
example: '32'
description: |
The number of tokens to unstake.

This optional field is applicable only for liquid staking and allows for a partial unstake of the position.
If not provided, the entire position will be unstaked by default.
id:
type: string
example: b70701f4-d7b1-4795-a8ee-b09cdb5b850e
Expand Down Expand Up @@ -19395,7 +19403,9 @@ components:
type: object
properties:
status:
$ref: '#/components/schemas/RelatedRequestStatusType'
type: string
enum:
- deactivating
inProgress:
type: boolean
example: false
Expand All @@ -19412,43 +19422,6 @@ components:
- status
- inProgress
- amount
RelatedRequestStatusType:
type: string
example: deactivating
description: The status of the request
enum:
- error
- created
- canceled
- activate_requested
- approve_inprogress
- approve_inprogress_signed
- activate_inprogress
- activate_inprogress_signed
- activate_inprogress_confirmed
- activate_done
- deactivate_requested
- deactivate_inprogress
- deactivate_inprogress_signed
- deactivate_inprogress_confirmed
- deactivate_done
- withdraw_inprogress
- withdraw_requested
- withdraw_inprogress_confirmed
- withdraw_done
- claim_rewards_requested
- claim_rewards_inprogress
- claim_rewards_done
- pending
- pending_queued
- active_offline
- active_online
- exiting_online
- exited
- active
- inactive
- activating
- deactivating
StakingGetAllDelegationsResponse:
type: array
items:
Expand Down

0 comments on commit 6ee8c9c

Please sign in to comment.