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

    Interface LendingPosition

    interface LendingPosition {
        accountId: string;
        availableBorrowUsd: number | null;
        borrow: PositionAsset[];
        borrowLimitUsd: number | null;
        dataStatus: LendingDataStatus;
        hasDebt: boolean | null;
        healthFactor: number | null;
        netApy: number | null;
        network: "mainnet" | "testnet";
        nftContract: string;
        nftImage: string;
        spokeId: number | null;
        spokeName: string | null;
        supplied: PositionAsset[];
    }
    Index

    Properties

    accountId: string
    availableBorrowUsd: number | null

    Account headroom, before per-market constraints.

    borrow: PositionAsset[]
    borrowLimitUsd: number | null
    dataStatus: LendingDataStatus
    hasDebt: boolean | null

    Null when account rows are unavailable.

    healthFactor: number | null

    Null without debt or when risk inputs are unavailable.

    netApy: number | null

    Net annual yield divided by positive net equity; fraction.

    network: "mainnet" | "testnet"
    nftContract: string
    nftImage: string

    Dynamic position SVG served by the network's XOXNO API.

    spokeId: number | null
    spokeName: string | null
    supplied: PositionAsset[]