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

    Type Alias PositionDelta

    type PositionDelta = {
        amountBase: bigint | string;
        asset: string;
        hubId: number;
        reserve?: ReserveDto;
        side: PositionSide;
    }
    Index

    Properties

    amountBase: bigint | string

    Signed token base units: positive supplies/borrows, negative withdraws/repays.

    asset: string
    hubId: number
    reserve?: ReserveDto

    Required when the account has no such position yet: decimals, usdPrice and the collateralFactorBps / liquidationThresholdBps a new position would snapshot.