Documentation
    Preparing search index...

    Function getUserAvailableLendingRewards

    • Get user's available lending rewards

      This function retrieves all available rewards for a user from the lending protocol. It uses devInspect to simulate the reward calculation and returns detailed information about claimable rewards for each asset and reward type.

      Parameters

      • address: string

        User's wallet address or account cap

      • Optionaloptions: Partial<SuiClientOption & EnvOption>

        Optional client and environment configuration

      Returns Promise<LendingReward[]>

      Array of lending rewards available for claiming