ETH->stETH、 Sol->stSol、Matic->stMatic exchange rate on my web site (the same number which is shown on the main lido web site) but don't see a good way to fetch the exchange rate and can't find anything in the docs, could you help me with that?
1. ETH -> stETH: 1 2. MATIC -> stMATIC, you could call the contract to calculate the rate between matic and stMATIC: https://etherscan.io/token/0x9ee91F9f426fA633d227f7a9b000E28b9dfd8599#readProxyContract#F8 3. will ask how to fetch stSOL/SOL rate.
update: solana: https://docs.solana.lido.fi/frontend-integration/sdk/sdk-methods/#getexchangerate polygon: https://docs.polygon.lido.fi/frontend-integration/sdk/sdk-methods#getmaticfromstmatic
Does it support android and ios?
both are js library.
have a restful api?
I checked: there is no method like that in the RestAPI but fyi, you could fetch the data by directly interacting with the contract.
Обсуждают сегодня