209 похожих чатов

Anychance for an API for this? https://stake.lido.fi/rewards

8 ответов

13 просмотров

https://eth-api.lido.fi/v1/protocol/steth/apr/sma "The eth-api endpoint should be the easiest (no auth, data point smoothing). Second easiest would be the Subgraph. Third would be to call a Lido Oracle function to get the last report delta, but it will require some manual calculations. Historical APR can easily be queried from our Subgraph (TotalReward entity) or by querying event logs from an ETH node and doing manual calculations." https://docs.lido.fi/contracts/lido

sassogx
Hey, any updates on the above?

Not yet, I've asked a dev. Will let you know what they say.

sassogx
Thanks, much appreciated

"It's calculated as follows: https://docs.lido.fi/integrations/api#simple-moving-average-lido-apr-for-7-last-days Thus, the APR value is applicable for users (i.e., when fees are already applied)"

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

Карта сайта