Reference: Get Tradable Asset Pairs
import { publicRestRequest } from 'ts-kraken'; publicRestRequest({ url: 'AssetPairs', params: { pair: 'BTC/USD,ETH/BTC' } }) .then((assetPairs) => { console.log(JSON.stringify({ assetPairs }, null, 4)); }) Copy
import { publicRestRequest } from 'ts-kraken'; publicRestRequest({ url: 'AssetPairs', params: { pair: 'BTC/USD,ETH/BTC' } }) .then((assetPairs) => { console.log(JSON.stringify({ assetPairs }, null, 4)); })
Reference: Get Tradable Asset Pairs
Example