diff --git a/modules/bitgo/test/v2/fixtures/staking/goStakingWallet.ts b/modules/bitgo/test/v2/fixtures/staking/goStakingWallet.ts index 60c65393ec..a1d43cec03 100644 --- a/modules/bitgo/test/v2/fixtures/staking/goStakingWallet.ts +++ b/modules/bitgo/test/v2/fixtures/staking/goStakingWallet.ts @@ -21,11 +21,11 @@ export default { finalizeGoStakingRequest: function (coin: string, type: 'STAKE' | 'UNSTAKE'): GoStakingRequest { return { id: 'string', + goAccountId: 'goAccountId', amount: '1', type: type, coin: coin, status: 'NEW', - goSpecificStatus: 'NEW', statusModifiedDate: '2025-01-03T22:04:29.264Z', createdDate: '2025-01-03T22:04:29.264Z', }; diff --git a/modules/sdk-core/src/bitgo/staking/goStakingInterfaces.ts b/modules/sdk-core/src/bitgo/staking/goStakingInterfaces.ts index 0449e10355..7949b5e435 100644 --- a/modules/sdk-core/src/bitgo/staking/goStakingInterfaces.ts +++ b/modules/sdk-core/src/bitgo/staking/goStakingInterfaces.ts @@ -13,16 +13,20 @@ interface FeeInfo { export interface GoStakingRequest { id: string; - amount: string; clientId?: string; + goAccountId: string; + amount: string; type: 'STAKE' | 'UNSTAKE'; coin: string; status: string; - goSpecificStatus: string; error?: string; - rawError?: string; statusModifiedDate: string; createdDate: string; + properties?: GoStakingRequestProperties; +} + +interface GoStakingRequestProperties { + amount: string; } export interface GoStakeOptions {