Transaction object to append calculation to
User address or transaction result
Asset identifier
Estimated supply amount
Estimated borrow amount
Whether this is an increase operation
Optional
options: Partial<EnvOption>Environment options
Transaction result for health factor calculation
Calculates dynamic health factor for a user after potential operations
This function creates a transaction call to calculate the health factor that would result after performing supply/borrow operations.