How to get USD <> ICP and USD <> Cycles ratio in the IC?

Hi,

Can we get the USD <> ICP and USD <> Cycles ratio in the IC? If so, how?

As far as i read
USD to Cycles is always 1 USD to several cycles it will never change

USD to ICP depends on the market price.

@gladguy thanks for replying back! Do you recall where you read that?

Thats CEO’s Tweet i remember

Actually, great you mentioned him, I remember hearing from him too, in a few interviews.

So, that’ll be SDR as in https://www.imf.org/external/np/fin/data/rms_sdrv.aspx

Reference:

2 Likes

1 Trillion Cycles == 1 SDR == https://www.imf.org/external/np/fin/data/rms_sdrv.aspx

1 Like

Regarding this topic, it seems that the answer is no, there is no way to get this data within the IC, we have to use external services, such as public API’s. In which would be interesting to know if there’re any we can fully trust to get correct data for both cases. I understand the data is available on the imf.org website, but that’d require us to compute from that particular template/markup, which can change at any time.

Ref:
https://www.iban.com/exchange-rates-api