Get Exchange Rates

Facades: public

Overview

Gets all the exchange rates for a given cryptocurrency.

Example

$rates = $bitpay->getRates();

$rate = $rates->getRate(Currency::USD);

$rates->update();