@somnia-chain/markets-sdk


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

Interface: PerpSideHoldersRef

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

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:1071

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


pool

pool: `0x${string}`

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

The perp pool whose holders to enumerate.


isLong

isLong: boolean

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

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