1.0.1 • Published 6 years ago
@sv-digital-bank/coinbase-pro-ticker v1.0.1
Coinbase Pro Ticker
An HTTP exchange ticker using the Coinbase Pro Ticker API.
NOTE: This package only supports USD trading pairs.
Installation
$ npm install @sv-digital-bank/coinbase-pro-ticker --save
Usage
import fetchQuote from "coinbase-pro-ticker";
const symbol = "ETH";
const quote = await fetchQuote(symbol);
console.log(quote.price);
1.0.1
6 years ago