code: public CoinbasePrice getCoinbaseSpotRate(Currency base, Currency counter) throws IOException {
  
      return coinbase.getSpotRate(Coinbase.CB_VERSION_VALUE, base + "-" + counter).getData();
    }
docs: Unauthenticated resource that tells you the current price of one unit. This is usually
  somewhere in between the buy and sell price, current to within a few minutes.
  
  @param pair The currency pair.
  @return The price in the desired {@code currency} for one unit.
  @throws IOException
  @see <a
  href="https://developers.coinbase.com/api/v2#get-spot-price">developers.coinbase.com/api/v2#get-spot-price</a>