fetchSync

Makes a blocking synchronous http request to fetch the data.

Using this method will overwrite any async callback.

Return

the exchange rate data returned by the API

Since

1.5.0

Throws

if the request fails or the response cannot be read