tokenPriceWithFee
Developers > Best Yield > tokenPriceWithFee
This method returns $IDLE token price for a specific user considering fees, in underlying. This is useful when you need to redeem exactly X amount of underlying tokens.

Function

1
function tokenPriceWithFee(
2
address _user
3
) external view returns (uint256 priceWFee);
Copied!

Parameters

Parameter
Description
_user
The address of the user

Return values

Value
Description
priceWFee
The $IDLE token price with fees
Last modified 11d ago