Hi, how to get the price of lp tokens from

this pool as on the graph? https://curve.fi/#/ethereum/pools/susd/deposit

4 ответов

15 просмотров

depends on the usecase

Ivan- Автор вопроса
fiddyresearch
depends on the usecase

just to get more data about it, because on the website it is from june this year what is not enough

Ivan
just to get more data about it, because on the web...

well can go further back but if you want only for analytics, just look at number of tokens of each coin in the pool, get value from some external price source, sum it up to get a tvl (per minute or hour or day w/e), take number of lp tokens and divide the TVL that you calculated with it.

Похожие вопросы

Обсуждают сегодня

Карта сайта