User
Account
: { authority
: PublicKey; cumulativePerpFunding
: BN; cumulativeSpotFees
: BN; delegate
: PublicKey; hasOpenAuction
: boolean; hasOpenOrder
: boolean; idle
: boolean; isMarginTradingEnabled
: boolean; lastActiveSlot
: BN; lastAddPerpLpSharesTs
: BN; lastFuelBonusUpdateTs
: number; liquidationMarginFreed
: BN; maxMarginRatio
: number; name
: number[]; nextLiquidationId
: number; nextOrderId
: number; openAuctions
: number; openOrders
: number; orders
: Order[]; perpPositions
: PerpPosition[]; settledPerpPnl
: BN; spotPositions
: SpotPosition[]; status
: number; subAccountId
: number; totalDeposits
: BN; totalSocialLoss
: BN; totalWithdraws
: BN; }
Type declaration
-
-
cumulativePerpFunding: BN
-
cumulativeSpotFees: BN
-
-
hasOpenAuction: boolean
-
hasOpenOrder: boolean
-
idle: boolean
-
isMarginTradingEnabled: boolean
-
lastActiveSlot: BN
-
lastAddPerpLpSharesTs: BN
-
lastFuelBonusUpdateTs: number
-
liquidationMarginFreed: BN
-
maxMarginRatio: number
-
name: number[]
-
nextLiquidationId: number
-
nextOrderId: number
-
openAuctions: number
-
openOrders: number
-
-
-
settledPerpPnl: BN
-
-
status: number
-
subAccountId: number
-
totalDeposits: BN
-
totalSocialLoss: BN
-
totalWithdraws: BN