diff --git a/api-spec-v2.yaml b/api-spec-v2.yaml index bcb2af5..6e73708 100644 --- a/api-spec-v2.yaml +++ b/api-spec-v2.yaml @@ -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 @@ -19395,7 +19403,9 @@ components: type: object properties: status: - $ref: '#/components/schemas/RelatedRequestStatusType' + type: string + enum: + - deactivating inProgress: type: boolean example: false @@ -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: