Ejemplo n.º 1
0
 /**
  * @param Currency $currency
  *
  * @return mixed
  */
 private function fetchRate(Currency $currency)
 {
     return $this->rates->fetch($currency->market_id);
 }
Ejemplo n.º 2
0
 /**
  * @return mixed
  */
 public function fetchRate()
 {
     $id = Config::get('altwallets::calculation.btc_market_id');
     return $this->rates->fetch(2);
 }