Friday, July 7, 2023

Rust pop-quiz: Stride Zone LSD redemption rates

#Rust pop-quiz


tl;dr: 

$ curl -basic https://stride-api.polkachu.com/Stride-Labs/stride/stakeibc/host_zone

Gives you the redemption rates for their LSDs ('liquid staking derivatives') and a lot of other information.



Write a Rust program that queries the endpoint, then extracts and prints the rates.


No comments:

Post a Comment