Anchor-Protocol / anchor-web-app

A monorepo containing everything user-facing

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Create and/or document a REST API for interacting with Anchor data

kenzieschmoll opened this issue · comments

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?

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

Also refer to this repo that I recently started

https://github.com/Anchor-Protocol/anchor-notebooks