Skip to content

Commit 1ceb83b

Browse files
authored
Merge pull request #606 from InjectiveLabs/chore/add-funding-sum-to-positions
chore/add-funding-sum-to-positions
2 parents 579bc21 + cf7f9f7 commit 1ceb83b

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

packages/sdk-ts/src/client/indexer/transformers/IndexerGrpcDerivativeTransformer.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -628,6 +628,7 @@ export class IndexerGrpcDerivativeTransformer {
628628
liquidationPrice: position.liquidationPrice,
629629
markPrice: position.markPrice,
630630
ticker: position.ticker,
631+
fundingSum: position.fundingSum,
631632
updatedAt: Number(position.updatedAt),
632633
}
633634
}

packages/sdk-ts/src/client/indexer/types/derivatives.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ export interface PositionV2 extends Omit<
3535
'aggregateReduceOnlyQuantity'
3636
> {
3737
denom: string
38+
fundingSum: string
3839
}
3940

4041
export interface PerpetualMarketInfo {

0 commit comments

Comments
 (0)