Idle Finance
WebsiteGithubTwitterDiscord
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
Best Yield API
Perpetual Yield Tranches
Gauges
Security
๐Ÿ›
Governance
Introduction
Idle DAO
$IDLE token
$IDLE staking
Idle Grants Program
๐Ÿ—‚
Other
Brand assets
Guides
FAQs
Glossary
Resources
Archive
Powered By GitBook
getAPRs
Developers > Best Yield > getAPRs
This method gives the actual (counting eventual fees) APR of every implemented lending protocol.

Function

1
function getAPRs(
2
) external view returns (address[] memory addresses, uint256[] memory aprs);
Copied!

Return values

Value
Description
addresses
An array of interest-bearing token addresses
aprs
An array of APRs (ordered in respect to the addresses array)
Previous
tokenPriceWithFee
Next
getAvgApr
Last modified 11d ago
Copy link
Contents
Function
Return values