yearn-api-archived icon indicating copy to clipboard operation
yearn-api-archived copied to clipboard

Store daily TVL and expose it on TVL endpoint

Open miguel567 opened this issue 4 years ago • 0 comments

Create a new /tvl/save endpoint to store daily tvl. the key for DB can be the timestamp.

On /tvl endpoint then extend the json output for include the daily TVl. Keeping as the TvlUSD the current (latest) TVL. Don't change the TvlUSD as this is already integrated in Defillama and changes could break their integration.

miguel567 avatar Dec 26 '20 11:12 miguel567