Crate ic_xrc_types

Crate ic_xrc_types 

Source

Structs§

Asset
Exchange rates are derived for pairs of assets captured in this struct.
ExchangeRate
When a rate is determined, this struct is used to present the information to the user.
ExchangeRateMetadata
Metadata information to give background on how the rate was determined.
GetExchangeRateRequest
The type the user sends when requesting a rate.
OtherError
Used to provide details for the ExchangeRateError::Other variant field.

Enums§

AssetClass
The enum defining the different asset classes.
ExchangeRateError
Returned to the user when something goes wrong retrieving the exchange rate.

Type Aliases§

GetExchangeRateResult
Short-hand for returning the result of a get_exchange_rate request.