Skip to main content

getFiatRates

Description:

Returns the USD, EUR, GBP, CNY, JPY, KRW, AUD, SWISE exchange rates for the current network asset

Returns:

type Output = {
'USD/EUR': number
'USD/GBP': number
'USD/CNY': number
'USD/JPY': number
'USD/KRW': number
'USD/AUD': number
'ASSET/USD': number
'SWISE/USD': number
}

Example:

await sdk.utils.getFiatRates()