Aave.

Bài viết

Chia sẻ kiến thức của bạn.

Aaveator.
Feb 05, 2023
Hỏi đáp Chuyên Gia

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
Chia sẻ
Bình luận
.

Câu trả lời

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
Bình luận
.

Bạn có biết câu trả lời không?

Hãy đăng nhập và chia sẻ nó.

Chúng tôi sử dụng cookie để đảm bảo bạn có trải nghiệm tốt nhất trên trang web của chúng tôi.
Thêm thông tin