Skip to content

Commit

Permalink
Merge pull request #4134 from BitGo/sandra/EA-2430-refine
Browse files Browse the repository at this point in the history
feat(sdk-core): add new fields to StakeOptions
  • Loading branch information
sandra-wang-bitgo authored Dec 8, 2023
2 parents 8087aa7 + ed90855 commit 17ba4b6
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 17ba4b6

Please sign in to comment.