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, чтобы гарантировать вам лучший опыт на нашем сайте.
Подробнее