Aave.

Publicación

Comparte tu conocimiento.

Aaveator.
Feb 05, 2023
P&R expertos

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
Cuota
Comentarios
.

Respuestas

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
Comentarios
.

Sabes la respuesta?

Inicie sesión y compártalo.

Usamos cookies para asegurarnos de que obtenga la mejor experiencia en nuestro sitio web.
Más información