Create and/or document a REST API for interacting with Anchor data
kenzieschmoll opened this issue · comments
Kenzie Davisson commented
Is there an existing REST API to find data like 20% yield earn balance, bLuna balance, collateral balance, borrowed balance, borrowing rewards balance, etc? If there is, is it documented anywhere?
Seo Yeon, Lee commented
There is no REST API to obtain calculated values. WebApp is calculating low-level data from Contract.
All Contract Query / formulas for WebApp are here, but there are no documents yet, and they are not convenient APIs for external developers.
You should still refer to docs.anchorprotocol.com.
https://docs.anchorprotocol.com/smart-contracts/deployed-contracts
Seo Yeon, Lee commented
Also refer to this repo that I recently started