@xoxno/sdk-js
    Preparing search index...

    Type Alias AccountPositionDto

    type AccountPositionDto = {
        accountId: string;
        asset: string;
        borrowAmount: string;
        borrowIndexRay: string | null;
        borrowScaledRay: string;
        entryLiquidationBonusBps: number;
        entryLiquidationFeesBps: number;
        entryLiquidationThresholdBps: number;
        entryLtvBps: number;
        hubId: number;
        initialPaymentMultiplier:
            | StellarDomain.StellarInitialPaymentMultiplier
            | null;
        ledger: number;
        liveBorrowIndexRay: string
        | null;
        liveSupplyIndexRay: string | null;
        owner: string;
        positionMode: number;
        spokeId: number;
        supplyAmount: string;
        supplyIndexRay: string | null;
        supplyScaledRay: string;
        updatedAt: number;
    }
    Index

    Properties

    accountId: string
    asset: string
    borrowAmount: string

    Actual token quantity in RAY (1e27), not token base units: floor(scaledBalanceRay * appliedIndexRay / 1e27).

    borrowIndexRay: string | null
    borrowScaledRay: string

    Scaled borrow balance (ray, 1e27).

    entryLiquidationBonusBps: number
    entryLiquidationFeesBps: number
    entryLiquidationThresholdBps: number
    entryLtvBps: number

    LTV snapshotted at open time, basis points.

    hubId: number
    initialPaymentMultiplier: StellarDomain.StellarInitialPaymentMultiplier | null
    ledger: number
    liveBorrowIndexRay: string | null

    Live borrow index applied (ray, 1e27); stored index on fallback.

    liveSupplyIndexRay: string | null

    Live supply index applied (ray, 1e27); stored index on fallback.

    owner: string
    positionMode: number

    Stellar position mode: 0 normal, 1 multiply, 2 long, 3 short.

    spokeId: number
    supplyAmount: string

    Actual token quantity in RAY (1e27), not token base units: floor(scaledBalanceRay * appliedIndexRay / 1e27).

    supplyIndexRay: string | null
    supplyScaledRay: string

    Scaled supply balance (ray, 1e27).

    updatedAt: number