Get Exchange Rates

Facades: public

Overview

Gets all the exchange rates for a given cryptocurrency.

Example

const rate = await client.getRate(Currency.BTC, Currency.USD);
const rates = await client.getRates(Currency.BCH)