@somnia-chain/markets-sdk


@somnia-chain/markets-sdk / index / PerpSideHoldersRef

Interface: PerpSideHoldersRef

Defined in: packages/sdk/src/perp/margin.ts:1098

Identifies one side of one perp market in the MarginBank — the (bank, pool, side) triple the holder-enumeration read keys on.

Properties

marginBank

marginBank: `0x${string}`

Defined in: packages/sdk/src/perp/margin.ts:1100

The MarginBank holding the positions — comes off the PerpMarket row.


pool

pool: `0x${string}`

Defined in: packages/sdk/src/perp/margin.ts:1102

The perp pool whose holders to enumerate.


isLong

isLong: boolean

Defined in: packages/sdk/src/perp/margin.ts:1104

True for the long side, false for the short side.