import { publicRestRequest } from 'ts-kraken';

publicRestRequest({
url: 'Ticker',
params: { pair: 'ETHEUR,BTCUSD' },

}).then((btcAndEthTickers) => {
console.log({ btcAndEthTickers });

}).catch(error => {
console.error({ error });
});

Tip: This library implements the helper method getTickersPrices which outputs a nicer object format.

Index

Type Aliases