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

    Type Alias Limit

    type Limit = {
        amountBase: bigint;
        amountShort: number;
        isFullClose: boolean;
        projectedUtilization: number | null;
        reason: LimitReason;
    }
    Index

    Properties

    amountBase: bigint

    Token base units. For a full-close withdraw this is the floor payout; sign "0" (the builder's withdraw-all sentinel) instead.

    amountShort: number
    isFullClose: boolean

    The amount closes the whole position (withdraw: pays the floor balance; repay: burns every debt share and refunds excess).

    projectedUtilization: number | null

    Hub utilization (0..1) after the action at amountBase; null when not applicable.

    reason: LimitReason

    Which gate produced amountBase; null when only the position size bounds it.