@alphafi/alphalend-sdk - v1.1.5
    Preparing search index...

    Function getUserPositionCapId

    • Fetches a user's position capability ID

      Parameters

      • suiClient: SuiClient

        SuiClient instance

      • network: string

        Network name ("mainnet", "testnet", or "devnet")

      • userAddress: string

        Address of the user

      Returns Promise<undefined | string>

      Promise resolving to the position capability ID or undefined if not found