Example: spot-get-symbols.ts

Static snapshot for Bitmart/Rest/Spot/spot-get-symbols.ts.

Example Path

Bitmart/Rest/Spot/spot-get-symbols.ts

Source Link

Repository source: https://github.com/sieblyio/crypto-api-examples/blob/master/examples/Bitmart/Rest/Spot/spot-get-symbols.ts

Code Snapshot

import { RestClient } from 'bitmart-api';

const client = new RestClient();

async function getTickers() {
  try {
    const tickers = await client.getSpotTickersV3();

    console.log('Tickers: ', JSON.stringify(tickers, null, 2));
  } catch (e) {
    console.error('Req error: ', e);
  }
}

getTickers();

This is a static, crawlable snapshot. The interactive app loads after JavaScript starts and can refresh live data.