Aave.

Допис

Діліться своїми знаннями.

Aaveator.
Feb 05, 2023
Питання та відповіді експертів

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
Поділитися
Коментарі
.

Відповіді

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
Коментарі
.

Ви знаєте відповідь?

Будь ласка, увійдіть та поділіться нею.

Ми використовуємо файли cookie, щоб гарантувати вам найкращий досвід на нашому сайті.
Детальніше