diff --git a/src/coinbase/staking_operation.ts b/src/coinbase/staking_operation.ts index fe94875a..4e289e65 100644 --- a/src/coinbase/staking_operation.ts +++ b/src/coinbase/staking_operation.ts @@ -3,7 +3,7 @@ import { StakingOperation as StakingOperationModel, StakingOperationStatusEnum, } from "../client/api"; -import { Transaction } from "./transaction"; +import { ITransaction, Transaction } from "./transaction"; import { Coinbase } from "./coinbase"; import { delay } from "./utils"; @@ -16,7 +16,7 @@ export interface IStakingOperation { isTerminalState(): boolean; isFailedState(): boolean; isCompleteState(): boolean; - getTransactions(): Transaction[]; + getTransactions(): ITransaction[]; getSignedVoluntaryExitMessages(): string[]; reload(): Promise; wait(options?: { diff --git a/src/coinbase/wallet.ts b/src/coinbase/wallet.ts index 88b952ef..af220e82 100644 --- a/src/coinbase/wallet.ts +++ b/src/coinbase/wallet.ts @@ -16,9 +16,9 @@ import { ArgumentError } from "./errors"; import { FaucetTransaction, IFaucetTransaction } from "./faucet_transaction"; import { IPayloadSignature } from "./payload_signature"; import { ISmartContract } from "./smart_contract"; -import { StakingBalance } from "./staking_balance"; +import { IStakingBalance, StakingBalance } from "./staking_balance"; import { IStakingOperation } from "./staking_operation"; -import { StakingReward } from "./staking_reward"; +import { IStakingReward, StakingReward } from "./staking_reward"; import { ITrade } from "./trade"; import { ITransfer } from "./transfer"; import { @@ -69,12 +69,12 @@ export interface IWallet { startTime?: string, endTime?: string, format?: StakingRewardFormat, - ): Promise; + ): Promise; historicalStakingBalances( assetId: string, startTime?: string, endTime?: string, - ): Promise; + ): Promise; listHistoricalBalances( options: ListHistoricalBalancesOptions, ): Promise;