Idle Finance
Website
Github
Twitter
Discord
Searchβ¦
π₯
Introduction
π
Get in touch
π
Products
Introduction
Best Yield
Perpetual Yield Tranches
Fee structure
Integration Partners programs
π»
Developers
Introduction
Networks and codebase
Best Yield
Architecture
Deployed contracts
Interface
Methods
mintIdleToken
redeemIdleToken
redeemInterestBearingTokens
rebalance
tokenPrice
tokenPriceWithFee
getAPRs
getAvgApr
userAvgPrices
getGovTokensAmounts
getAllocations
getGovTokens
getAllAvailableTokens
getProtocolTokenToGov
Edge cases
Security management policy
Get integrated as yield source
Get user earnings
Perpetual Yield Tranches
Gauges
Security
π
Governance
Introduction
Idle DAO
$IDLE token
$IDLE staking
Idle Grants Program
π
Other
Guides
FAQs
Glossary
Resources
Archive
Powered By
GitBook
getAvgApr
Developers > Best Yield strategy > getAvgApr
This method gives the base layer aggregated APR of $IDLE token. This method does not take into account fees, unlent percentage and additional APR given by $IDLE governance token.
Function
1
function
getAvgAPR
(
2
)
external
view
returns
(
uint256
avgApr
);
Copied!
Return values
Value
Description
avgApr
The average APR for $IDLE tokens
Previous
getAPRs
Next
userAvgPrices
Last modified
3mo ago
Copy link
Contents
Function
Return values