Exchange Rate Canister

Our Price Feed Data is given by Dfinity's (e)xchange rate canister (xrc). Calls to borrow, redeem (if in any markets) and liquidate call the xrc. The principal of the canister is listed below.

uf6dk-hyaaa-aaaaq-qaaaq-cai

Extracted from from the following repos:

- https://github.com/THLO/xrc_demo

- https://github.com/dfinity/exchange-rate-canister

The corresponding symbols to pass into the exchange rate canister below.

TokenExchange Rate Canister SymbolAsset Class

XTC

CXDR

FiatCurrency

ICP

ICP

Cryptocurrency

CKBTC

BTC

Cryptocurrency

The candid notation of the two parameters

type symbol = text;
type AssetClass = variant { Cryptocurrency; FiatCurrency; };

Last updated