Skip to main content

getFiatRates

Description:

Returns the USD, EUR, GBP exchange rates for the current asset

Returns:

type Output = {
assetsUsdRate: number
usdToEurRate: number
usdToGbpRate: number
}

Example:

await sdk.utils.getFiatRates()