Skip to content

Commit

Permalink
Merge pull request #316 from fireblocks/staking-sdk
Browse files Browse the repository at this point in the history
staking-sdk: add amount to the UnstakeRequestDto for liquid unstake
  • Loading branch information
chenshoo authored Dec 17, 2024
2 parents 684eaee + 011ef93 commit 0ad1eea
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/staking/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,13 @@ export interface UnstakeRequestDto {
*/
id: string;

/**
* 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.
*/
amount?: string;

/**
* Represents the fee for a transaction, which can be specified as a percentage value. Only one of fee/feeLevel is required
*/
Expand Down

0 comments on commit 0ad1eea

Please sign in to comment.