Skip to content

Latest commit

 

History

History
75 lines (47 loc) · 2.37 KB

File metadata and controls

75 lines (47 loc) · 2.37 KB

Position2

Properties

Name Type Description Notes
id String Position UUID.
status StatusEnum Lifecycle status of the position.
inFlight Boolean True while an action is in progress for this position.
positionType PositionTypeEnum Whether the position is lend- or borrow-side.
vaultAccountId String Fireblocks vault account holding the position.
opportunityId String Opportunity / vault or market identifier.
chainId String Chain identifier as a string (e.g. "1").
providerId ProviderIdEnum Lending protocol.
origin OriginEnum Whether the position was opened natively in Fireblocks or imported externally.
principalAssetId String Fireblocks asset id for the principal (underlying) asset.
positionAssetId String Fireblocks asset id for the position / share token.
principalBalance String Human-readable principal balance.
positionBalance String Human-readable position token balance.
createdAt String Creation time (ISO-8601).
updatedAt String Last update time (ISO-8601).
lastSyncedAt String Last successful on-chain sync time (ISO-8601). [optional]
availableActions List<AvailableActionsEnum> Actions the API allows next for this position.
yield String Accrued yield in principal token units (decimal string). Only present for Morpho positions. [optional]

Enum: StatusEnum

Name Value
ACTIVE "ACTIVE"
INACTIVE "INACTIVE"

Enum: PositionTypeEnum

Name Value
LEND "LEND"
BORROW "BORROW"

Enum: ProviderIdEnum

Name Value
MORPHO "MORPHO"
AAVE "AAVE"

Enum: OriginEnum

Name Value
NATIVE "NATIVE"
EXTERNAL "EXTERNAL"

Enum: List<AvailableActionsEnum>

Name Value
DEPOSIT "DEPOSIT"
WITHDRAW "WITHDRAW"