Idle
Ask or search…
⌃K
Links
Comment on page

userAvgPrices

Developers > Best Yield > userAvgPrices
This method gives the average price paid for $IDLE tokens of one specific user.

Function

function userAvgPrices(
address _user
) external view returns (uint256 avgPrice);

Parameters

Parameter
Description
_user
The address of the user

Return values

Value
Description
avgPrice
The average price paid for $IDLE tokens