Crate ic_xrc_types
source ·Structs
- Exchange rates are derived for pairs of assets captured in this struct.
- When a rate is determined, this struct is used to present the information to the user.
- Metadata information to give background on how the rate was determined.
- The type the user sends when requesting a rate.
- Used to provide details for the ExchangeRateError::Other variant field.
Enums
- The enum defining the different asset classes.
- Returned to the user when something goes wrong retrieving the exchange rate.
Type Aliases
- Short-hand for returning the result of a
get_exchange_rate
request.