Skip to content

Commit

Permalink
feat(sdk-core): add new fields to StakeOptions
Browse files Browse the repository at this point in the history
to support STX stacking

TICKET: EA-2430

TICKET: EA-2430
  • Loading branch information
sandra-wang-bitgo committed Dec 8, 2023
1 parent 1fce3ac commit ed90855
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions modules/sdk-core/src/bitgo/staking/iStakingWallet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,25 @@ export interface DelegationRequest {
* @property {string} [validator] - chosen validator
* @property {string} [duration] - delegation duration: a numeric string, in days or cycles
* @property {string} [subType] - coin sepcific staking subtype
* @property {string} [btcRewardAddress] - btc reward address
* @property {DelegationRequest[]} [delegationRequests] - The delegation requests
*/
export interface StakeOptions {
amount?: string;
clientId?: string;
validator?: string;
/**
* delegation duration: a numeric string, in days or cycles
*/
duration?: string;
/**
* coin sepcific staking subtype
*/
subType?: string;
/**
* btc reward address
*/
btcRewardAddress?: string;
delegationRequests?: DelegationRequest[];
}

Expand Down

0 comments on commit ed90855

Please sign in to comment.