@alphafi/alphalend-sdk - v3.0.1
    Preparing search index...

    Function getUserPositionCapIds

    • Fetches a user's position capability IDs sorted by creation time (oldest first).

      Parameters

      • blockchain: Blockchain

        Blockchain client

      • userAddress: string

        Address of the user

      Returns Promise<(string | undefined)[] | undefined>

      Promise resolving to sorted position capability IDs or undefined on error. Returns empty array if the user has no caps.