Aave.

Post

Share your knowledge.

Aaveator.
Feb 05, 2023
Expert Q&A

How to query the smart contract of an aToken market to get the estimated APY?

Hey guys, id like to query the smart contract of an aToken market to get the estimated APY anyone know what function to call?

  • Aave Protocol
  • aTokens
0
1
Share
Comments
.

Answers

1
Aaveator.
Feb 16 2023, 10:45

Checkout this page to find the APY;

You can find liquidityRate on protocolDataProvider contract. Call getReserveData() or getUserReserveData() to get the liquidityRate.For Ethereum Mainnet, this should be the contract.

0
Comments
.

Do you know the answer?

Please log in and share it.

We use cookies to ensure you get the best experience on our website.
More info