Skip to content

Commit 85d920b

Browse files
committed
fix(sdk-core): update go staking request interface
to match actual API response TICKET: SC-4862
1 parent db7d638 commit 85d920b

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

modules/sdk-core/src/bitgo/staking/goStakingInterfaces.ts

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,20 @@ interface FeeInfo {
1313

1414
export interface GoStakingRequest {
1515
id: string;
16-
amount: string;
1716
clientId?: string;
17+
goAccountId: string;
18+
amount: string;
1819
type: 'STAKE' | 'UNSTAKE';
1920
coin: string;
2021
status: string;
21-
goSpecificStatus: string;
2222
error?: string;
23-
rawError?: string;
2423
statusModifiedDate: string;
2524
createdDate: string;
25+
properties?: GoStakingRequestProperties;
26+
}
27+
28+
interface GoStakingRequestProperties {
29+
amount: string;
2630
}
2731

2832
export interface GoStakeOptions {

0 commit comments

Comments
 (0)